aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 6ff51c26e7d6a081a5e6a3aa1e2433ba527710fa (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
31
32
33
34
35
36
37
pkgname=pkgfile-git
pkgver=15.2.g387bba4
pkgrel=1

pkgdesc="a pacman .files metadata explorer"
url="http://github.com/falconindy/pkgfile"
arch=('i686' 'x86_64')
license=('MIT')

depends=('libarchive' 'curl' 'pcre' 'pacman')
makedepends=('git' 'perl')

conflicts=('pkgfile')
provides=('pkgfile')

install=pkgfile.install

source=("git://github.com/falconindy/pkgfile")

md5sums=('SKIP')

pkgver() {
	cd pkgfile
	git describe | sed 's/^v//;s/-/./g'
}

build() {
	cd pkgfile

	./autogen.sh
	./configure
	make
}

package() {
	make -C pkgfile DESTDIR="$pkgdir" install
}