[arch-commits] Commit in pixiewps/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sat Oct 7 17:58:16 UTC 2017
Date: Saturday, October 7, 2017 @ 17:58:15
Author: anthraxx
Revision: 262088
upgpkg: pixiewps 1.3-1
Modified:
pixiewps/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-07 17:26:02 UTC (rev 262087)
+++ PKGBUILD 2017-10-07 17:58:15 UTC (rev 262088)
@@ -2,32 +2,25 @@
# Contributor: Mitch Bigelow <ipha00 at gmail.com>
pkgname=pixiewps
-pkgver=1.2.2.19.gf723d50
+pkgver=1.3
pkgrel=1
-_gitcommit=f723d5017f304b727981560396044d7d11ec1080
pkgdesc='Offline bruteforce of the WPS pin exploiting the low or non-existing entropy of some APs'
url='https://github.com/wiire/pixiewps'
arch=('i686' 'x86_64')
license=('GPL3')
depends=('glibc')
-makedepends=('git')
optdepends=('reaver: authentication session key support'
'bully: authentication session key support')
-source=(${pkgname}::"git+https://github.com/wiire/pixiewps#commit=${_gitcommit}")
-sha512sums=('SKIP')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/wiire-a/pixiewps/archive/v${pkgver}.tar.gz)
+sha512sums=('535e1b5de0e6db8c23062fd867236e710778a5d3f4bfcf20eb24476cd51b20e1024f889558db65e200611970d5f20d53d334cfb6d0b552d5b4ae0270dfc2bbf8')
-pkgver() {
- cd ${pkgname}
- git describe --tags --always|sed 's/^v//;s/-/./g'
-}
-
build() {
- cd ${pkgname}
+ cd ${pkgname}-${pkgver}
make -C src
}
package() {
- cd ${pkgname}
+ cd ${pkgname}-${pkgver}
make -C src DESTDIR="${pkgdir}" install
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 pixiewps.1 -t "${pkgdir}/usr/share/man/man1"
More information about the arch-commits
mailing list