aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-29 17:29:37 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:45 +0200
commit7bb1fa18215ebb078301ad8b836fa0c08ec7e1a0 (patch)
tree146faae13870a8d990cb837aea122aa3d1c45502 /PKGBUILD
downloadpkgbuilds-7bb1fa18215ebb078301ad8b836fa0c08ec7e1a0.tar.xz
pkgfile-git: Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
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
+}