# Maintainer : exkc # Fork from icecat-bin pkgname=icecat-rpm _pkgname=icecat pkgver=102.15.0 _pkgver=${pkgver}-gnu1 pkgrel=0 pkgdesc="Rpm Binary build (from fedora) of the GNU version of the Mozilla Firefox browser" arch=('i686' 'x86_64' 'aarch64') url="http://www.gnu.org/software/gnuzilla/" license=('GPL' 'MPL' 'LGPL') depends=('gtk2' 'mozilla-common' 'libxt' 'startup-notification' 'mime-types' 'dbus-glib' 'alsa-lib' 'desktop-file-utils' 'hicolor-icon-theme' 'libvpx' 'icu' 'libevent' 'nss' 'hunspell' 'sqlite' 'pango' 'freetype2' 'libxft' 'libx11') makedepends=() provides=('icecat' ) conflicts=('icecat') replaces=('icecat') source_aarch64=(https://kojipkgs.fedoraproject.org//packages/icecat/102.15.0/2.rh1.fc40/aarch64/icecat-102.15.0-2.rh1.fc40.aarch64.rpm) source_x86_64=(https://kojipkgs.fedoraproject.org//packages/icecat/102.15.0/2.rh1.fc40/x86_64/icecat-102.15.0-2.rh1.fc40.x86_64.rpm) source_i686=(https://kojipkgs.fedoraproject.org//packages/icecat/102.15.0/2.rh1.fc40/i686/icecat-102.15.0-2.rh1.fc40.i686.rpm) source=($_pkgname.desktop $_pkgname-safe.desktop $_pkgname-launcher.sh) sha256sums=('c44eab35f71dd3028a74632463710d674b2e8a0682e5e887535e3233a3b7bbb3' '190577ad917bccfc89a9bcafbc331521f551b6f54e190bb6216eada48dcb1303' 'b49fe5ba063002ad2cbf5e981b98d08e4157e20f5a4f00971a5f73eeca6ddbba') sha256sums_aarch64=('564b2f7df579fd295c8c8198b33bd3e302b82cbfd383e94cbbf443fcd6d1cc78') sha256sums_x86_64=('46de269c621c94795c69a7588f315aa0992510dda027b7025e42b42fa881ed12') sha256sums_i686=('c2eaa53c4b4079ba9368ab64ccb3219258d04bae5f5ebf9279aa25fb9d3a9b8c') package() { install -d $pkgdir/usr/lib/$_pkgname if [ -d $srcdir/usr/lib64/ ] then cp -a $srcdir/usr/lib64/$_pkgname/* $pkgdir/usr/lib/$_pkgname/ else cp -a $srcdir/usr/lib/$_pkgname/* $pkgdir/usr/lib/$_pkgname/ fi install -d $pkgdir/usr/share/applications install -m644 $srcdir/$_pkgname.desktop $pkgdir/usr/share/applications install -m644 $srcdir/$_pkgname-safe.desktop $pkgdir/usr/share/applications install -d $pkgdir/usr/share/icons/hicolor/ install -dm644 $srcdir/usr/share/icons/hicolor/* $pkgdir/usr/share/icons install -d $pkgdir/usr/bin/ install -m755 $srcdir/$_pkgname-launcher.sh $pkgdir/usr/bin/$_pkgname }