aboutsummaryrefslogtreecommitdiff
path: root/src/alpine/git-permalink-0-2-0/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/git-permalink-0-2-0/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 '')
-rw-r--r--src/alpine/git-permalink-0-2-0/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/alpine/git-permalink-0-2-0/APKBUILD b/src/alpine/git-permalink-0-2-0/APKBUILD
index 7779a1d..ac6adfa 100644
--- a/src/alpine/git-permalink-0-2-0/APKBUILD
+++ b/src/alpine/git-permalink-0-2-0/APKBUILD
@@ -12,6 +12,8 @@ checkdepends=''
install=''
subpackages='git-permalink-doc'
source='https://euandre.org/git/git-permalink/snapshot/git-permalink-v0.2.0.tar.xz'
+pkgbasedir="$startdir/.abuild/pkg"
+srcdir="$startdir/.abuild/src"
builddir="$srcdir/git-permalink-v0.2.0"
build() {
@@ -26,6 +28,10 @@ package() {
make install DESTDIR="$pkgdir" PREFIX=/usr
}
+cleanup_srcdir() {
+ rm -rf "$startdir/.abuild"
+}
+
sha512sums='
c75da25709b6b074812d34dfa5371a6dd53d31f1ce2828c594cf3c62bdd90b421d14f5733782fcaed178db830236eeb87a8ae2fb90e773270222ae64750625d0 git-permalink-v0.2.0.tar.xz
'