aboutsummaryrefslogtreecommitdiff
path: root/src/alpine/git-permalink-0-2-0/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'src/alpine/git-permalink-0-2-0/APKBUILD')
-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
'