summaryrefslogtreecommitdiff
path: root/libre/parabolaiso-git/PKGBUILD
blob: 07376317b55bd237b1ddfe154823b2161efd700a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer (Arch): Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
# Maintainer (Arch): Pierre Schmitz <pierre@archlinux.de>
# Maintainer: André Silva <emulatorman@hyperbola.info>

_pkgname=parabolaiso
pkgname=parabolaiso-git
pkgver=r786.5294b19
_gitver=5294b1998fef0a9b58243dfb83e0cf42081a7633
pkgrel=1
pkgdesc='Tools for creating Parabola GNU/Linux-libre live and install iso images'
arch=('any')
url='https://projects.parabola.nu/packages/parabolaiso.git/'
license=('GPL')
depends=('make' 'squashfs-tools' 'libisoburn' 'dosfstools' 'parabolaiso-data')
makedepends=('git')
replaces=('archiso' 'parabolaiso')
conflicts=('archiso' 'parabolaiso')
provides=('archiso' 'parabolaiso')
source=("$_pkgname-$pkgver::git+https://projects.parabola.nu/packages/$_pkgname.git/#commit=$_gitver")
md5sums=('SKIP')

pkgver() {
  cd $_pkgname-$pkgver
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd $_pkgname-$pkgver
  make DESTDIR=$pkgdir install
}