updated on Fri Jan 20 04:00:45 UTC 2012
[aur-mirror.git] / iron-bin / PKGBUILD
blob3275744e11d04a87f70f261d37c1f54b2bbb753b
1 # Contributor: Elkin Cruz <linuxero789@gmail.com>
2 # Contributor: larsrh <lars.hupel@gmx.de>
3 pkgname=iron-bin
4 pkgver=16.0.950.2
5 pkgrel=1
6 pkgdesc="A browser based on Chromium without Google's 'tracking features'"
7 arch=('i686' 'x86_64')
8 url="http://www.srware.net/en/software_srware_iron.php"
9 license=('BSD')
10 depends=('gtk2' 'dbus-glib' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'ttf-dejavu' 'desktop-file-utils' 'hicolor-icon-theme' 'libpng12')
11 install=${pkgname}.install
13 [[ "$CARCH" == 'x86_64' ]] && _64=-64
14 source=(http://www.srware.net/downloads/iron-linux${_64}.tar.gz
15         iron.desktop
16         iron.png
17         iron.sh
18         LICENSE)
19 md5sums=('d416c014551a6a5b37a4bb0dd09078d0'
20          '2dc0bd42de6483b63c8ebc71dfcf5a9d'
21          '60df76c38381e46577505b0c61cea017'
22          '6ec430e5597388492b413b152c9587ac'
23          '30032c6c531632af6547fa360395acd3')
24 [[ "$CARCH" == 'x86_64' ]] && md5sums[0]='e35d3495c93e969ba1bd782cd01e2e1f'
26 package() {
27   install -Dm755 iron.sh "${pkgdir}/usr/bin/iron"
28   install -d "${pkgdir}/opt"
29   mv iron-linux${_64} "${pkgdir}/opt/iron"
31   # Remove the already provided logo
32   rm -f "${pkgdir}"/opt/iron/product_logo_48.png
34   install -Dm644 iron.png "${pkgdir}/usr/share/pixmaps/iron.png"
35   install -Dm644 iron.desktop "${pkgdir}/usr/share/applications/iron.desktop"
36   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"