summaryrefslogtreecommitdiff
path: root/community/freebasic/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-17 10:54:17 +0200
committerErich Eckner <git@eckner.net>2019-04-17 10:54:17 +0200
commitd22b6ef090d62a0d70d9312f6af3267db04f3c0a (patch)
tree2f419a916796104ad0d5eb91937655fda3ce0836 /community/freebasic/PKGBUILD
parent94137ec4cf90744b3635606cee8c0e9f6e4de2eb (diff)
downloadpackages-d22b6ef090d62a0d70d9312f6af3267db04f3c0a.tar.xz
most patches for i686 should/can be applied for pentium4, too
Diffstat (limited to 'community/freebasic/PKGBUILD')
-rw-r--r--community/freebasic/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/freebasic/PKGBUILD b/community/freebasic/PKGBUILD
index dcfb58df..b368c56c 100644
--- a/community/freebasic/PKGBUILD
+++ b/community/freebasic/PKGBUILD
@@ -1,9 +1,11 @@
source_i686=("http://downloads.sourceforge.net/fbc/FreeBASIC-${pkgver}-linux-x86.tar.xz")
md5sums_i686=('2d0332cc289ec1ba59b017c3a2d4bceb')
+source_pentium4=("${source_i686[@]}")
+md5sums_pentium4=("${md5sums_i686[@]}")
eval "$(
declare -f prepare | \
sed '
- /CARCH/ a [[ "$CARCH" = "i686" ]] && _arch=x86
+ /CARCH/ a [[ "$CARCH" = "i686" ]] && _arch=x86; [[ "$CARCH" = "pentium4" ]] && _arch=x86
'
)"