community/seamonkey to 2.53.8-1

This commit is contained in:
Kevin Mihelich 2021-07-04 19:15:32 +00:00
parent 5c3aefcce5
commit 3654f5812a

View file

@ -8,7 +8,7 @@ highmem=1
buildarch=12
pkgname=seamonkey
pkgver=2.53.7.1
pkgver=2.53.8
pkgrel=1
pkgdesc="SeaMonkey internet suite"
arch=('x86_64')
@ -23,11 +23,9 @@ optdepends=('networkmanager: Location detection via available WiFi networks'
'pulseaudio: Audio support')
url="https://www.seamonkey-project.org/"
source=("https://archive.mozilla.org/pub/seamonkey/releases/$pkgver/source/seamonkey-$pkgver.source.tar.xz"
"seamonkey-rust-1.52.patch"
"mozconfig"
"xulrunner-27.0-build-arm.patch")
sha256sums=('432206fe787ffb560e811d32103658d676dccb012fc7092d2071bb59729603ea'
'6c4db819efacef515fa6459788e69f0def98f9766e37579ff08735caaab869cc'
sha256sums=('5c8f2a82cc9895235fd84eca5d1bb702d8e0428ae04a97a2f31af86d68cdba15'
'2b1404af0c6db2602bdf6449a936d04fbb6e97299addd5e21c55b0ceff43d891'
'bc83b8a51c81a401da2fbe1f7cd0843248c32607d3a51119585df074d797922e')
install="$pkgname.install"
@ -48,8 +46,6 @@ prepare() {
cd "$pkgname-$pkgver"
cp ../mozconfig .mozconfig
patch -p1 < ../seamonkey-rust-1.52.patch # Fix build with rust 1.52 (gentoo)
echo -n "$_google_api_key" > google-api-key
echo -n "$_mozilla_api_key" > mozilla-api-key
@ -70,13 +66,13 @@ EOF
build() {
cd "$pkgname-$pkgver"
make -f client.mk build
./mach build
}
package() {
cd "$pkgname-$pkgver"
make -f client.mk DESTDIR="$pkgdir" INSTALL_SDK= install
DESTDIR="$pkgdir" INSTALL_SDK= ./mach install
rm -rf "$pkgdir"/usr/lib/seamonkey/{dictionaries,hyphenation}
ln -s /usr/share/hunspell "$pkgdir/usr/lib/seamonkey/dictionaries"