[arch-commits] Commit in mfoc/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Mon Oct 12 23:21:02 UTC 2020
Date: Monday, October 12, 2020 @ 23:21:02
Author: archange
Revision: 723771
libnfc 1.8.0 rebuild
Modified:
mfoc/trunk/PKGBUILD
----------+
PKGBUILD | 35 ++++++++++++++++++++---------------
1 file changed, 20 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-12 23:17:01 UTC (rev 723770)
+++ PKGBUILD 2020-10-12 23:21:02 UTC (rev 723771)
@@ -1,26 +1,31 @@
# Maintainer: Bruno Pagani <archange at archlinux.org>
pkgname=mfoc
-pkgver=0.10.7+38+gb333a79
-pkgrel=2
+pkgver=0.10.7+38+gba072f1
+pkgrel=1
pkgdesc="MiFare Classic Universal toolKit"
-arch=('x86_64')
+arch=(x86_64)
url="http://nfc-tools.org/"
-license=('GPL2')
-depends=('libnfc')
-makedepends=('git')
-_commit=ba072f16f6b2a655d51da2171ecfb83e26c0ef58 # Latest tested commit
-source=("git+https://github.com/nfc-tools/mfoc.git#commit=${_commit}")
-sha256sums=('SKIP')
+license=(GPL2)
+depends=(libnfc)
+makedepends=(git)
+_commit=ba072f16f6b2a655d51da2171ecfb83e26c0ef58 # Latest tested commit
+source=(git+https://github.com/nfc-tools/mfoc.git#commit=${_commit})
+sha256sums=(SKIP)
+#pkgver() {
+# cd ${pkgname}
+# git describe --tags | sed 's/^mfoc-//;s/\([^-]*-g\)/r\1/;s/-/./;s/-/+/'
+#}
+
build() {
- cd ${pkgname}
- autoreconf -is
- ./configure --prefix=/usr
- make
+ cd ${pkgname}
+ autoreconf -is
+ ./configure --prefix=/usr
+ make
}
package() {
- cd ${pkgname}
- make DESTDIR="${pkgdir}" install
+ cd ${pkgname}
+ make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list