diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/opendkim/APKBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/testing/opendkim/APKBUILD b/testing/opendkim/APKBUILD index d2a6815d68..f9e0874482 100644 --- a/testing/opendkim/APKBUILD +++ b/testing/opendkim/APKBUILD @@ -16,8 +16,7 @@ install="$pkgname.pre-install" source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz opendkim.conf opendkim.initd" - -builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" @@ -31,16 +30,20 @@ build() { package() { cd "$builddir" - make DESTDIR="$pkgdir" install + + make DESTDIR="$pkgdir" install || return 1 install -Dm644 "$pkgdir"/usr/share/doc/opendkim/opendkim.conf.sample \ - "$pkgdir"/etc/opendkim/opendkim.conf.sample - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + "$pkgdir"/etc/opendkim/opendkim.conf.sample || return 1 + install -Dm644 LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1 install -Dm644 LICENSE.Sendmail \ - "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.Sendmail + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.Sendmail || return 1 - install -m755 -D "$srcdir"/"$pkgname".initd "$pkgdir"/etc/init.d/"$pkgname" - install -m644 -D "$srcdir"/"$pkgname".conf "$pkgdir"/etc/conf.d/"$pkgname" + install -m755 -D "$srcdir"/$pkgname.initd \ + "$pkgdir"/etc/init.d/$pkgname || return 1 + install -m644 -D "$srcdir"/$pkgname.conf \ + "$pkgdir"/etc/conf.d/$pkgname } md5sums="916e691cdd16cfabd1cd6efe745323f9 opendkim-2.10.3.tar.gz |