summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2017-04-27 22:16:00 +0100
committerEric Engestrom2017-04-27 22:16:00 +0100
commite5df5dd5886f8f442b5175524e17a1eb58e846a6 (patch)
treeb910e04150a199b8893fec4a2bad18e62188ab67
downloadaur-e5df5dd5886f8f442b5175524e17a1eb58e846a6.tar.gz
initial commit - 0.1.3+56.g81e685a-1
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD28
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..77e3582b702
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = pnputils-git
+ pkgdesc = PNP utils
+ pkgver = 0.1.3+56.g81e685a
+ pkgrel = 1
+ url = http://git.debian.org/?p=collab-maint/pnputils.git
+ arch = any
+ license = GPLv2
+ provides = pnputils=0.1.3
+ conflicts = pnputils
+ source = git://git.debian.org/git/collab-maint/pnputils
+ md5sums = SKIP
+
+pkgname = pnputils-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..7b37658e4d0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/pnputils/
+/*.pkg.*
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
+}