summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFigue2015-06-25 22:07:07 +0200
committerFigue2015-06-25 22:07:07 +0200
commit2d34fb5e942d94c2c120df32d0e5c7a94cf31f92 (patch)
tree9228f65009c6fb3d100ca6c396a67e5ae4620275
parentb8b146d6c8c8b72081b58b52c3ed2b7d7b96555f (diff)
downloadaur-2d34fb5e942d94c2c120df32d0e5c7a94cf31f92.tar.gz
Adopted architecture-specific arrays. Switching to sha256 checksum
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD15
2 files changed, 10 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1b89a0321f6..472c20c4b97 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = abrowser-bin
pkgdesc = Binary version of Abrowser, safe and easy web browser from Mozilla
pkgver = 38.0
- pkgrel = 1
+ pkgrel = 2
url = https://trisquel.info/en/wiki/abrowser-help
install = abrowser.install
arch = i686
@@ -32,7 +32,10 @@ pkgbase = abrowser-bin
depends = libpng
depends = cairo
depends = gnome-vfs
- source = http://us.archive.trisquel.info/trisquel/pool/main/f/firefox/abrowser_38.0+build3-0ubuntu0.14.04.1+7.0trisquel37_.deb
+ source_i686 = http://us.archive.trisquel.info/trisquel/pool/main/f/firefox/abrowser_38.0+build3-0ubuntu0.14.04.1+7.0trisquel37_i386.deb
+ sha256sums_i686 = 3c22a6dfcdf7abe14050057dd4bb92542d2270a72ec68d9071d7c941fd87b1ac
+ source_x86_64 = http://us.archive.trisquel.info/trisquel/pool/main/f/firefox/abrowser_38.0+build3-0ubuntu0.14.04.1+7.0trisquel37_amd64.deb
+ sha256sums_x86_64 = f41dea99fae2148d80ada4daec4481b6e7a35ae8593a9fbbeeccb005b928aa37
pkgname = abrowser-bin
diff --git a/PKGBUILD b/PKGBUILD
index 175f1ddbc61..66abca66de6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=abrowser-bin
pkgver=38.0
-pkgrel=1
+pkgrel=2
pkgdesc="Binary version of Abrowser, safe and easy web browser from Mozilla"
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')
@@ -19,15 +19,10 @@ build=build3
ubuntu_ver=14.04.1
trisquel_ver=7.0trisquel37
-if [ "${CARCH}" = 'x86_64' ]; then
- ARCH='amd64'
- md5sums=('8cb184f85f15249f909d568923d6b5e9')
-elif [ "${CARCH}" = 'i686' ]; then
- ARCH='i386'
- md5sums=('b07472e8fe604d1e37e9e6d7fc994d10')
-fi
-
-source=("http://us.archive.trisquel.info/trisquel/pool/main/f/firefox/${s_pkgname}_${pkgver}+${build}-0ubuntu0.${ubuntu_ver}+${trisquel_ver}_${ARCH}.deb")
+sha256sums_i686=('3c22a6dfcdf7abe14050057dd4bb92542d2270a72ec68d9071d7c941fd87b1ac')
+sha256sums_x86_64=('f41dea99fae2148d80ada4daec4481b6e7a35ae8593a9fbbeeccb005b928aa37')
+source_x86_64=("http://us.archive.trisquel.info/trisquel/pool/main/f/firefox/${s_pkgname}_${pkgver}+${build}-0ubuntu0.${ubuntu_ver}+${trisquel_ver}_amd64.deb")
+source_i686=("http://us.archive.trisquel.info/trisquel/pool/main/f/firefox/${s_pkgname}_${pkgver}+${build}-0ubuntu0.${ubuntu_ver}+${trisquel_ver}_i386.deb")
package() {
tar xJvf ${srcdir}/data.tar.xz -C ${pkgdir}/