aboutsummaryrefslogtreecommitdiff
path: root/src/alpine/guile-heredoc/APKBUILD
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-29 10:30:07 -0300
committerEuAndreh <eu@euandre.org>2023-03-29 10:30:07 -0300
commit2430360ea1e841be80d14e66d31688aeae153270 (patch)
treecd05007e08f86e7e8f3562af2266f1ad217d4507 /src/alpine/guile-heredoc/APKBUILD
parentsrc/bin/paku.in: Better name for Debian directories (diff)
downloadpackage-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 'src/alpine/guile-heredoc/APKBUILD')
-rw-r--r--src/alpine/guile-heredoc/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/alpine/guile-heredoc/APKBUILD b/src/alpine/guile-heredoc/APKBUILD
index a276952..be17531 100644
--- a/src/alpine/guile-heredoc/APKBUILD
+++ b/src/alpine/guile-heredoc/APKBUILD
@@ -12,6 +12,8 @@ checkdepends=''
install=''
subpackages='guile-heredoc-doc'
source='https://euandre.org/git/guile-heredoc/snapshot/guile-heredoc-065435cdce609604e33b879b9be3e81ab89f3e7b.tar.xz'
+pkgbasedir="$startdir/.abuild/pkg"
+srcdir="$startdir/.abuild/src"
builddir="$srcdir/guile-heredoc-065435cdce609604e33b879b9be3e81ab89f3e7b"
build() {
@@ -26,6 +28,10 @@ package() {
make install DESTDIR="$pkgdir" PREFIX=/usr
}
+cleanup_srcdir() {
+ rm -rf "$startdir/.abuild"
+}
+
sha512sums='
09071e6fbe3a70a8c0b435a050f274f768e1476759e8645d960e5f1a12d88f9eab6765b3ecc7a2696a9205f454d6d3ae5a080d63b133b3574baeb48f048a1952 guile-heredoc-065435cdce609604e33b879b9be3e81ab89f3e7b.tar.xz
'