summaryrefslogtreecommitdiff
path: root/community/deepin-terminal/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-13 20:43:40 +0100
committerErich Eckner <git@eckner.net>2017-11-13 20:43:40 +0100
commit94636e19e0a81a64a8030eea7094491599d357c5 (patch)
treea87f6a258f0545d60c5746292c262c8549580f58 /community/deepin-terminal/PKGBUILD
parent0b89d3b5e527a36001ba59bb20e722ed95ed728e (diff)
downloadpackages-94636e19e0a81a64a8030eea7094491599d357c5.tar.xz
community/deepin-terminal: remove compiled files from "source" tarball
Diffstat (limited to 'community/deepin-terminal/PKGBUILD')
-rw-r--r--community/deepin-terminal/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/deepin-terminal/PKGBUILD b/community/deepin-terminal/PKGBUILD
new file mode 100644
index 00000000..641862a7
--- /dev/null
+++ b/community/deepin-terminal/PKGBUILD
@@ -0,0 +1,9 @@
+# make a source tar ball from the "source" tar ball
+# see https://bugs.archlinux32.org/index.php?do=details&task_id=10
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ 2 a find $pkgname-$pkgver \\( '"-name '*.a' -o -name '*.o'"' \\) -delete
+ '
+)"