blob: 72c6d21ba75ce0bcf26f7b9308e27b96ab2de09c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: goll <adrian.goll+aur[at]gmail>
pkgname=mfoc-git
pkgver=103.9d9f01f
pkgrel=1
pkgdesc="Mifare Classic Offline Cracker"
arch=('i686' 'x86_64')
url="https://github.com/nfc-tools/mfoc"
license=('GPL2')
depends=('libnfc>=1.7.0')
makedepends=('git')
conflicts=('mfoc')
source=("$pkgname"::'git://github.com/nfc-tools/mfoc.git')
sha1sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
autoreconf -vis
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
}
|