Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-07-04 17:28:15 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-07-04 17:28:15 +0200
commit9205b63179448fbfa4d2cdcc70d3b74947c8a862 (patch)
tree3107e1279ddcd649ae3c73c71259567c25112f8f /community
parentec8a402fd9a74906e3b9d5343631508ce6a679ab (diff)
community/teamspeak3-server: updated for pentium4 builds and blacklisted for i486
Diffstat (limited to 'community')
-rw-r--r--community/teamspeak3-server/PKGBUILD14
1 files changed, 13 insertions, 1 deletions
diff --git a/community/teamspeak3-server/PKGBUILD b/community/teamspeak3-server/PKGBUILD
index 08d7c2f0..e4231ad2 100644
--- a/community/teamspeak3-server/PKGBUILD
+++ b/community/teamspeak3-server/PKGBUILD
@@ -1,2 +1,14 @@
-sha256sums_i686=('d20d1df1d27445c117b47926e70ebd4c62e0338f18aab2c5d2c218ae6c2b0369')
+sha256sums_i686=('d9ace85f222768f290f50420a845bdbcbb1688d9c0eb477be1171992eccb1140')
+source_pentium4=("${source_i686[@]}")
sha256sums_pentium4=("${sha256sums_i686[@]}")
+
+# set _TSARCH for pentium4 directly instead of trying to patch the
+# if CARCH -> _TSRACH=...
+if [ "${CARCH}" = "pentium4" ]; then
+ eval "$(
+ declare -f package | \
+ sed '
+ s/${_TSARCH}/x86/g
+ '
+ )"
+fi