diff options
author | Cody P Schafer | 2023-11-24 22:01:56 -0500 |
---|---|---|
committer | Cody P Schafer | 2023-11-24 22:01:56 -0500 |
commit | 3e7f7b04919eddfc462b4d752de8a187d11c2d01 (patch) | |
tree | 26b1f0100e493f2aa1f2c6f2a1812f2cc6c79a9a | |
parent | 087acc53747d05cff834945c28f719478ea38da1 (diff) | |
download | aur-pixiewps-git.tar.gz |
update with pkgbuild from https://aur.archlinux.org/account/m3thodic
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 19 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgbase = pixiewps-git pkgdesc = Offline bruteforce of the WPS pin exploiting the low or non-existing entropy of some APs - pkgver = r26.08a78c3 + pkgver = 1.4.2.r6.g464326f pkgrel = 1 url = https://github.com/wiire/pixiewps arch = i686 @@ -10,8 +10,7 @@ pkgbase = pixiewps-git depends = openssl provides = pixiewps conflicts = pixiewps - source = git+https://github.com/wiire/pixiewps.git - md5sums = SKIP + source = pixiewps-git::git+https://github.com/wiire/pixiewps.git + sha256sums = SKIP pkgname = pixiewps-git - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..c375289069d9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +pixiewps-git/ +/*.pkg.* @@ -2,8 +2,7 @@ # Contributor: delta48 <dark.magician.48+aur[at]gmail[dot]com> pkgname=pixiewps-git -_pkgname=pixiewps -pkgver=r26.08a78c3 +pkgver=1.4.2.r6.g464326f pkgrel=1 pkgdesc="Offline bruteforce of the WPS pin exploiting the low or non-existing entropy of some APs" arch=('i686' 'x86_64') @@ -13,22 +12,23 @@ depends=('openssl') makedepends=('git') conflicts=('pixiewps') provides=('pixiewps') -source=(git+https://github.com/wiire/pixiewps.git) -md5sums=('SKIP') +source=("${pkgname}::git+https://github.com/wiire/pixiewps.git") +sha256sums=('SKIP') pkgver() { - cd "$_pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "${srcdir}/${pkgname}" + + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g' } build() { - cd "$_pkgname"/src/ - # edit makefile - sed -e 14d -e 16d -e '15 s/install/& -Dm 755 /' -i Makefile - make + cd "${srcdir}/${pkgname}" + + make } package() { - cd "$_pkgname"/src - make PREFIX="$pkgdir/usr" install + cd "${srcdir}/${pkgname}" + + make PREFIX="${pkgdir}/usr" install } |