diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..6ff51c2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |