summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Mehani2014-12-05 23:17:45 +1100
committerOlivier Mehani2014-12-05 23:17:45 +1100
commitc310a010696431f1164b6d962e65b8213501a11c (patch)
tree08737e14ecde2bf298a262472e54033c11e962c2
downloadaur-c310a010696431f1164b6d962e65b8213501a11c.tar.gz
[librfid-dpavlin-git] Shift to GitHub mirror
Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au>
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore0
-rw-r--r--PKGBUILD35
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..49b5a1a110f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = librfid-dpavlin-git
+ pkgdesc = This library intends to provide a reader and (as much as possible) PICC / tag independent API for RFID applications.
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = http://openmrtd.org/projects/librfid/
+ arch = i686
+ arch = x86_64
+ groups = base
+ license = GPL
+ depends = libusb
+ provides = librfid=0.2.0
+ options = !libtool
+ source = git+https://github.com/dpavlin/librfid
+ md5sums = SKIP
+
+pkgname = librfid-dpavlin-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/.gitignore
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5216143a89b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Contributor: Mark Richardson <echo@mit.edu>
+# Maintainer: Olivier Mehani <shtrom+aur@ssji.net>
+
+pkgname=librfid-dpavlin-git
+_realname=librfid
+pkgver=0.2.0
+pkgrel=1
+depends=('libusb')
+pkgdesc="This library intends to provide a reader and (as much as possible) PICC / tag independent API for RFID applications."
+arch=(i686 x86_64)
+url="http://openmrtd.org/projects/librfid/"
+license=('GPL')
+groups=('base')
+provides=('librfid=0.2.0')
+#conflicts=('librfid')
+options=(!libtool)
+source=(git+https://github.com/dpavlin/librfid)
+md5sums=('SKIP')
+
+prepare() {
+ cd $srcdir/$_realname
+ autoreconf -i
+ }
+
+build() {
+ cd $srcdir/$_realname
+ autoreconf -i
+ ./configure --prefix=/usr --disable-build-docs
+ make
+}
+
+package() {
+ cd $srcdir/$_realname
+ make DESTDIR=$pkgdir install
+}