summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e34e95493f6d63efbf3c183e003b1bd6e7a67b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Figue <ffigue at gmail dot com>

pkgname=abrowser-bin
pkgver=37.0.2
pkgrel=1
pkgdesc="Binary version of Abrowser, safe and easy web browser from Mozilla"
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')
url="https://trisquel.info/en/wiki/abrowser-help"
depends=('gtk2' 'gcc-libs' 'libidl2' 'mozilla-common' 'nss>=3.12.10' 'libxt'
         'libxrender' 'hunspell' 'startup-notification' 'mime-types' 'dbus-glib'
         'alsa-lib' 'libevent' 'sqlite3>=3.7.4' 'libnotify' 'desktop-file-utils'
         'libvpx' 'lcms' 'nspr>=4.8.8' 'libevent' 'libpng' 'cairo' 'gnome-vfs')

install=abrowser.install

s_pkgname=abrowser
build=build1
ubuntu_ver=14.04.1
trisquel_ver=7.0trisquel37

if [ "${CARCH}" = 'x86_64' ]; then
  ARCH='amd64'
  md5sums=('bef142bd0343876c91c87ee67db9a239')
elif [ "${CARCH}" = 'i686' ]; then
  ARCH='i386'
  md5sums=('0b4886dd77579af4205beca53ebb834a')
fi

source=("http://us.archive.trisquel.info/trisquel/pool/main/f/firefox/${s_pkgname}_${pkgver}+${build}-0ubuntu0.${ubuntu_ver}+${trisquel_ver}_${ARCH}.deb")

package() {
  tar xJvf ${srcdir}/data.tar.xz -C ${pkgdir}/
  msg2 "Cleaning up unwanted files..."
  rm -rv "${pkgdir}"/{etc/apport,etc/apparmor.d,usr/share/apport,usr/share/lintian}
}