summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2b7e27f37a2acf28c85e780f98d6fcec27fc328f (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: George Tokmaji <tokmajigeorge@gmail.com>
# Maintainer: Ivan Shapovalov <intelfx100@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Antony Male <antony dot male at gmail dot com>

pkgname=pacbuilder-git
pkgver=r135.6597966
pkgrel=1
pkgdesc="A tool to massively recompile archlinux packages from sources"
arch=('any')
url="https://github.com/arfoll/pacbuilder"
license=('GPL3')
provides=('pacbuilder' 'pacbuilder-svn')
conflicts=('pacbuilder-svn')
replaces=('pacbuilder-svn')
depends=('rsync' 'wget')
makedepends=('git')
backup=('etc/pacbuilder.conf')
source=("${pkgname}::git+https://github.com/arfoll/pacbuilder")
md5sums=('SKIP')

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

package() {
	cd "$srcdir/${pkgname}"
	make DESTDIR="$pkgdir" install
}