Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/teamspeak3-server/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
committerErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
commite74cde76c104df82b120a7b13964cb786da8f565 (patch)
tree39967e24037929c04aaf79922aa260b437a60a5e /extra/teamspeak3-server/PKGBUILD
parent73e1d3b448cc583ab38cae4d61a26f313fad946b (diff)
community -> extra
Diffstat (limited to 'extra/teamspeak3-server/PKGBUILD')
-rw-r--r--extra/teamspeak3-server/PKGBUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/teamspeak3-server/PKGBUILD b/extra/teamspeak3-server/PKGBUILD
new file mode 100644
index 00000000..cdeed180
--- /dev/null
+++ b/extra/teamspeak3-server/PKGBUILD
@@ -0,0 +1,14 @@
+sha256sums_i686=('78b6fe92c51d68f86baee36fd45dda9602a609a2493c04f65125b5bfeee9df59')
+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