aboutsummaryrefslogtreecommitdiff
path: root/src/bin/paku.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/paku.in')
-rwxr-xr-xsrc/bin/paku.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/paku.in b/src/bin/paku.in
index c823926..7f7c726 100755
--- a/src/bin/paku.in
+++ b/src/bin/paku.in
@@ -534,6 +534,8 @@ sub emit_alpine() {
install=''
subpackages='@subpackages'
source='$pkg->{url}'
+ pkgbasedir="\$startdir/.abuild/pkg"
+ srcdir="\$startdir/.abuild/src"
builddir="\$srcdir/$pkg->{name}-$pkg->{version}"
build() {
@@ -548,6 +550,10 @@ sub emit_alpine() {
make install DESTDIR="\$pkgdir" PREFIX=/usr
}
+ cleanup_srcdir() {
+ rm -rf "\$startdir/.abuild"
+ }
+
sha512sums='
$pkg->{sha512} $pkg->{fname}
'