From 7bb1fa18215ebb078301ad8b836fa0c08ec7e1a0 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 29 Nov 2014 17:29:37 +0100 Subject: pkgfile-git: Initial import --- PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') 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 +} -- cgit v1.2.3-70-g09d2