aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-sys-syslog
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-05 13:07:06 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-05 13:31:30 +0000
commit3ce302210e5b0a911d9657215d691b8fe4e5b9b5 (patch)
tree778ae8d17fb65f669c60b8d5eeeb3aa43bb87d58 /community/perl-sys-syslog
parenta439676586c0e22b38559c0cfb70d81123930b3a (diff)
downloadaports-3ce302210e5b0a911d9657215d691b8fe4e5b9b5.tar.gz
aports-3ce302210e5b0a911d9657215d691b8fe4e5b9b5.tar.bz2
aports-3ce302210e5b0a911d9657215d691b8fe4e5b9b5.tar.xz
community/perl-[n-s]*: modernize APKBUILD
Changes: - Move tests to check() - Remove return 1 - rename _builddir to builddir - add missing default_prepare in prepare()
Diffstat (limited to 'community/perl-sys-syslog')
-rw-r--r--community/perl-sys-syslog/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/perl-sys-syslog/APKBUILD b/community/perl-sys-syslog/APKBUILD
index 6cea827884..4f998a8d97 100644
--- a/community/perl-sys-syslog/APKBUILD
+++ b/community/perl-sys-syslog/APKBUILD
@@ -24,12 +24,17 @@ prepare() {
build() {
cd "$builddir"
- make && make test || return 1
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
@@ -38,6 +43,4 @@ doc() {
replaces="perl-doc"
}
-md5sums="59dfb279f78a5ff587ba2ee8989b13e8 Sys-Syslog-0.35.tar.gz"
-sha256sums="fe28e47b70b77aaae754385fe1470d174289e7b6908efa247d2e52486516fbb7 Sys-Syslog-0.35.tar.gz"
sha512sums="94f35e3008e1f01af7c02f4672c0b85fb9d92bd51ecddbd064d08e6fc81a203aef7655386174e6b38814b1500a21553324985fe169e3dc8d8b9829590bceffc9 Sys-Syslog-0.35.tar.gz"