Commit e8603102 authored by Francesco Colista's avatar Francesco Colista
Browse files

testing/pixiewps: new aport

parent 67810b60
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=pixiewps
pkgver=1.2.2
pkgrel=0
pkgdesc="An offline WPS bruteforce utility"
url="https://github.com/wiire/pixiewps"
arch="all"
license="GPL3"
source="$pkgname-$pkgver.tar.gz::https://github.com/wiire/$pkgname/archive/v$pkgver.tar.gz
make-bindir.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"/src
make || return 1
}
package() {
cd "$builddir"/src
make DESTDIR="$pkgdir" install
}
md5sums="52c0cd20eff10c5c422980a13fc86730 pixiewps-1.2.2.tar.gz
245b6dd6e447e8a3e2b5dfa632d521ce make-bindir.patch"
sha256sums="6da09b8ac67cd556b901606e5a72548174cd1e6a89cc52a246d49e0a5ff83db8 pixiewps-1.2.2.tar.gz
ec6411fb8acbea863ce89ee4d2ef9178e3d540fc3b256243c6da7557ca4f4ef9 make-bindir.patch"
sha512sums="096d9f9e50aede2a77d70b6a7bcbc6ee3559d65f70577a4669076f1d8f3d153f18ceb7ea1cbfec09d20d76ebffb189ef1f8e5047362f33ff787be20e46d3e33e pixiewps-1.2.2.tar.gz
c317ec3ea8ec68f719e9d957d4edb20312df3783703efadee73ee59c509c63fc5f3002a4b2c7da013c0129c93467b7c59e3f591010531a2a21a5e608c155f2de make-bindir.patch"
diff --git a/src/Makefile b/src/Makefile
index c800ed4..e2f1233 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -5,7 +5,7 @@ CRYPTO = crypto/sha256.c crypto/md.c crypto/md_wrap.c
SOURCE = $(TARGET).c random_r.c $(CRYPTO)
PREFIX = $(DESTDIR)/usr
BINDIR = $(PREFIX)/bin
-LOCDIR = $(PREFIX)/local/bin
+LOCDIR = /usr/bin
all:
$(CC) $(CCFLAGS) -o $(TARGET) $(SOURCE)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment