summaryrefslogtreecommitdiff
path: root/community/teamspeak3-server/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/teamspeak3-server/PKGBUILD')
-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