Date: Monday, October 12, 2020 @ 23:21:26 Author: archange Revision: 723772
archrelease: copy trunk to community-x86_64 Added: mfoc/repos/community-x86_64/PKGBUILD (from rev 723771, mfoc/trunk/PKGBUILD) Deleted: mfoc/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 57 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 26 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-12 23:21:02 UTC (rev 723771) +++ PKGBUILD 2020-10-12 23:21:26 UTC (rev 723772) @@ -1,26 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> - -pkgname=mfoc -pkgver=0.10.7+38+gb333a79 -pkgrel=2 -pkgdesc="MiFare Classic Universal toolKit" -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') - -build() { - cd ${pkgname} - autoreconf -is - ./configure --prefix=/usr - make -} - -package() { - cd ${pkgname} - make DESTDIR="${pkgdir}" install -} Copied: mfoc/repos/community-x86_64/PKGBUILD (from rev 723771, mfoc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-12 23:21:26 UTC (rev 723772) @@ -0,0 +1,31 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> + +pkgname=mfoc +pkgver=0.10.7+38+gba072f1 +pkgrel=1 +pkgdesc="MiFare Classic Universal toolKit" +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) + +#pkgver() { +# cd ${pkgname} +# git describe --tags | sed 's/^mfoc-//;s/\([^-]*-g\)/r\1/;s/-/./;s/-/+/' +#} + +build() { + cd ${pkgname} + autoreconf -is + ./configure --prefix=/usr + make +} + +package() { + cd ${pkgname} + make DESTDIR="${pkgdir}" install +}