aboutsummaryrefslogtreecommitdiffstats
path: root/community/restic
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2019-11-23 14:54:40 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2019-11-23 14:54:40 +0100
commit1d04751c777ecf3ca048b8097752cf020bcc9595 (patch)
tree2b574412672cef84f34ebea20740d5dc9b4ad01e /community/restic
parentab2c03f38026432ed714e3948976a401f75cd813 (diff)
downloadaports-1d04751c777ecf3ca048b8097752cf020bcc9595.tar.bz2
aports-1d04751c777ecf3ca048b8097752cf020bcc9595.tar.xz
community/restic: add cleanup_srcdir
Diffstat (limited to 'community/restic')
-rw-r--r--community/restic/APKBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/community/restic/APKBUILD b/community/restic/APKBUILD
index 38a7457fa0..f72df0f61b 100644
--- a/community/restic/APKBUILD
+++ b/community/restic/APKBUILD
@@ -62,4 +62,9 @@ zshcomp() {
"$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
}
+cleanup_srcdir() {
+ go clean -modcache
+ default_cleanup_srcdir
+}
+
sha512sums="f6f7797dc17644e8f0217d81f7194e8e6416f6e740bad0eb11bcf83ab72d1729025e59fd1b81eb9d57bdd60e98b3324026ddb2325c654eb1b51f8f30ed247089 restic-0.9.6.tar.gz"