aboutsummaryrefslogtreecommitdiff
path: root/src/alpine/td/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'src/alpine/td/APKBUILD')
-rw-r--r--src/alpine/td/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/alpine/td/APKBUILD b/src/alpine/td/APKBUILD
index 829107e..37abdce 100644
--- a/src/alpine/td/APKBUILD
+++ b/src/alpine/td/APKBUILD
@@ -12,6 +12,8 @@ checkdepends=''
install=''
subpackages='td-doc td-lang'
source='https://euandre.org/git/td/snapshot/td-4a8a7a2662c94b2581f587e9a4b81feba4f5e7d8.tar.xz'
+pkgbasedir="$startdir/.abuild/pkg"
+srcdir="$startdir/.abuild/src"
builddir="$srcdir/td-4a8a7a2662c94b2581f587e9a4b81feba4f5e7d8"
build() {
@@ -26,6 +28,10 @@ package() {
make install DESTDIR="$pkgdir" PREFIX=/usr
}
+cleanup_srcdir() {
+ rm -rf "$startdir/.abuild"
+}
+
sha512sums='
59071e6fbe3a70a8c0b435a050f274f768e1476759e8645d960e5f1a12d88f9eab6765b3ecc7a2696a9205f454d6d3ae5a080d63b133b3574baeb48f048a1952 td-4a8a7a2662c94b2581f587e9a4b81feba4f5e7d8.tar.xz
'