aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-09-25 06:11:02 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-09-25 06:11:02 +0000
commitfd15b338baadd41e70be239ced7a289b52586ccc (patch)
tree8643f14c2bdb21d1657581c3f248a47411f488ac
parent90f774b271f2a3165adf216f9e1afdde97521a44 (diff)
downloadaports-fd15b338baadd41e70be239ced7a289b52586ccc.tar.gz
aports-fd15b338baadd41e70be239ced7a289b52586ccc.tar.bz2
aports-fd15b338baadd41e70be239ced7a289b52586ccc.tar.xz
main/sshguard: modernize
-rw-r--r--main/sshguard/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/main/sshguard/APKBUILD b/main/sshguard/APKBUILD
index dce7a720b0..9bbe445162 100644
--- a/main/sshguard/APKBUILD
+++ b/main/sshguard/APKBUILD
@@ -24,18 +24,15 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --sysconfdir=/etc \
- || return 1
- make || return 1
+ --sysconfdir=/etc
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
- install -Dm755 "$srcdir"/sshguard.initd \
- "$pkgdir"/etc/init.d/sshguard || return 1
- install -Dm755 "$srcdir"/sshguard.confd \
- "$pkgdir"/etc/conf.d/sshguard || return 1
+ make DESTDIR="$pkgdir" install
+ install -Dm755 "$srcdir"/sshguard.initd "$pkgdir"/etc/init.d/sshguard
+ install -Dm755 "$srcdir"/sshguard.confd "$pkgdir"/etc/conf.d/sshguard
}
sha512sums="c9f7ef4b8d4b1ecbcee33b95e013c51f37b4a05226c6cd1f3c85006c83a32cf555644069d529a7317dcf6616f86a399d7338a5a414238de05bd41dc3005488e4 sshguard-2.0.0.tar.gz