summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDave Reisner2015-07-04 13:36:47 -0400
committerDave Reisner2015-07-04 13:36:47 -0400
commit656abf3f8a62c2b1281741ac78e962def668c58c (patch)
tree9969bd4f8f2f2702dd525b364d28939eedc1d3da /PKGBUILD
downloadaur-656abf3f8a62c2b1281741ac78e962def668c58c.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8ba19417d75
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Contributor: Dave Reisner <d@falconindy.com>
+
+pkgname=pkgfile-git
+pkgver=15.7.g7ace342
+pkgrel=1
+pkgdesc="a pacman .files metadata explorer"
+arch=('i686' 'x86_64')
+url="http://github.com/falconindy/pkgfile"
+license=('MIT')
+depends=('libarchive' 'curl' 'pcre' 'pacman')
+makedepends=('git' 'perl')
+conflicts=('pkgfile' 'nosr')
+provides=('pkgfile' 'nosr')
+replaces=('nosr-git')
+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
+}
+
+# vim: ft=sh syn=sh et