aboutsummaryrefslogtreecommitdiffstats
path: root/community/john/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/john/APKBUILD')
-rw-r--r--community/john/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/community/john/APKBUILD b/community/john/APKBUILD
index cfecbddd4f..bd137aacdb 100644
--- a/community/john/APKBUILD
+++ b/community/john/APKBUILD
@@ -14,12 +14,12 @@ options="!strip !check" # needs config files in /usr which are not there during
makedepends="libpcap-dev openssl-dev gmp-dev yasm-dev zlib-dev"
subpackages="$pkgname-doc"
-source="https://www.openwall.com/john/k/$pkgname-$pkgver-$_pkgrel.tar.xz"
+source="https://www.openwall.com/john/k/john-$pkgver-$_pkgrel.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver-$_pkgrel
build() {
cd "$builddir"/src
- ./configure --prefix=/usr
+ ./configure --prefix=/usr
make
}
@@ -30,17 +30,17 @@ check() {
package() {
cd "$builddir/src"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install
cd "$builddir"
mkdir -p "$pkgdir"/usr/bin
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
mkdir -p "$pkgdir"/usr/share/$pkgname/rules
- mv doc/extras "$pkgdir"/usr/share/doc/$pkgname
+ mv doc/extras "$pkgdir"/usr/share/doc/$pkgname
install -Dm644 doc/* "$pkgdir"/usr/share/doc/$pkgname
- install -Dm644 run/rules/* "$pkgdir"/usr/share/$pkgname/rules
- install -Dm644 run/*.conf "$pkgdir"/usr/share/$pkgname/
- install -Dm644 run/*.chr "$pkgdir"/usr/share/$pkgname/
+ install -Dm644 run/rules/* "$pkgdir"/usr/share/$pkgname/rules
+ install -Dm644 run/*.conf "$pkgdir"/usr/share/$pkgname/
+ install -Dm644 run/*.chr "$pkgdir"/usr/share/$pkgname/
install -Dm644 doc/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
rm "$pkgdir"/usr/share/doc/$pkgname/LICENSE*