summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlad2015-09-03 10:03:10 +0000
committerrichteer2015-09-03 10:06:18 +0000
commite3d4fae70da72bfc4eac05e66cecd779e3b9515e (patch)
tree9e50250558db434b9551a5a76245252d86482ca7
parent2b488523ddb70de2e6b8c0b18695c3e27b3e5920 (diff)
downloadaur-e3d4fae70da72bfc4eac05e66cecd779e3b9515e.tar.gz
Use source_x86_64 instead of CARCH
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d807555625..862aef61679 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,8 +10,10 @@ pkgbase = mit-scheme
depends = ncurses
depends = zlib
optdepends = openssl: support for openssl
- source = http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-9.2-x86-64.tar.gz
- md5sums = 9fcc6c156e53efeb0560996551fa0a57
+ source_i686 = http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-9.2-i386.tar.gz
+ md5sums_i686 = b80458f85b9521bdfb0620edc89e3e61
+ source_x86_64 = http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-9.2-x86-64.tar.gz
+ md5sums_x86_64 = 9fcc6c156e53efeb0560996551fa0a57
pkgname = mit-scheme
diff --git a/PKGBUILD b/PKGBUILD
index 139fe75781e..03df18a02d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,14 +11,10 @@ url='http://www.gnu.org/software/mit-scheme/'
depends=('glibc' 'ncurses' 'zlib')
optdepends=('openssl: support for openssl')
-if [[ $CARCH == i686 ]]; then
- _arch=i386
- md5sums=('b80458f85b9521bdfb0620edc89e3e61')
-else
- _arch=x86-64
- md5sums=('9fcc6c156e53efeb0560996551fa0a57')
-fi
-source=(http://ftp.gnu.org/gnu/$pkgname/stable.pkg/$pkgver/$pkgname-$pkgver-$_arch.tar.gz)
+source_i686=(http://ftp.gnu.org/gnu/$pkgname/stable.pkg/$pkgver/$pkgname-$pkgver-i386.tar.gz)
+source_x86_64=(http://ftp.gnu.org/gnu/$pkgname/stable.pkg/$pkgver/$pkgname-$pkgver-x86-64.tar.gz)
+md5sums_i686=('b80458f85b9521bdfb0620edc89e3e61')
+md5sums_x86_64=('9fcc6c156e53efeb0560996551fa0a57')
build() {
cd $pkgname-$pkgver/src