summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b5196e9c672
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
+
+pkgname=pnputils-git
+pkgver=0.1.3+56.g81e685a
+pkgrel=1
+pkgdesc="PNP utils"
+arch=('any')
+url='http://git.debian.org/?p=collab-maint/pnputils.git'
+license=('GPLv2')
+source=('git://git.debian.org/git/collab-maint/pnputils')
+md5sums=('SKIP')
+conflicts=('pnputils')
+provides=("pnputils=${pkgver%+*}")
+
+pkgver() {
+ cd "$srcdir/pnputils"
+ git describe --long --tags | sed 's#.*/##; s/-/./; s/-/+/; s/-/./'
+}
+
+build() {
+ cd "$srcdir/pnputils"
+ make
+}
+
+package() {
+ cd "$srcdir/pnputils"
+ DESTDIR="$pkgdir" make install prefix=/usr sbindir=/usr/bin
+}