diff options
author | Tony Lambiris | 2017-11-19 21:53:44 -0500 |
---|---|---|
committer | Tony Lambiris | 2017-11-19 21:53:44 -0500 |
commit | c88fb24107d75eae1f45ce301c4c23d52339646d (patch) | |
tree | 1d2fb3db265d04b514373b204658587f685363dd | |
download | aur-c88fb24107d75eae1f45ce301c4c23d52339646d.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5d872c7d8a06 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = crackle-git + pkgdesc = Crack and decrypt BLE encryption + pkgver = r100.ff47a48 + pkgrel = 1 + url = http://lacklustre.net/projects/crackle/ + arch = i686 + arch = x86_64 + license = BSD + makedepends = libpcap + source = crackle-git::git+https://github.com/mikeryan/crackle + sha256sums = SKIP + +pkgname = crackle-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3b0723fa10b1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Tony Lambiris <tony@criticalstack.com> + +pkgname=crackle-git +pkgver=r100.ff47a48 +pkgrel=1 +pkgdesc="Crack and decrypt BLE encryption" +arch=('i686' 'x86_64') +url="http://lacklustre.net/projects/crackle/" +license=('BSD') +makedepends=('libpcap') +source=("${pkgname}::git+https://github.com/mikeryan/crackle") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/$pkgname" + + make +} + +package() { + cd "$srcdir/$pkgname" + + install -Dm755 "crackle" "${pkgdir}/usr/bin/crackle" +} |