diff options
author | EuAndreh <eu@euandre.org> | 2023-03-29 10:30:07 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-29 10:30:07 -0300 |
commit | 2430360ea1e841be80d14e66d31688aeae153270 (patch) | |
tree | cd05007e08f86e7e8f3562af2266f1ad217d4507 /src/bin/paku.in | |
parent | src/bin/paku.in: Better name for Debian directories (diff) | |
download | package-repository-2430360ea1e841be80d14e66d31688aeae153270.tar.gz package-repository-2430360ea1e841be80d14e66d31688aeae153270.tar.xz |
src/bin/paku.in: Move abuild(1) tmpdirs into .abuild/ to make more them ignorable
Diffstat (limited to '')
-rwxr-xr-x | src/bin/paku.in | 6 |
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} ' |