diff options
author | Marc Vertes <marc.vertes@ugrid.net> | 2016-03-18 21:21:39 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-22 10:58:57 +0200 |
commit | 3ab89df0030d905def63177ebc928ec23494fcfe (patch) | |
tree | a24ba99ed3f342d747f8df79a1b65d480c801e5c /testing/seamonkey/APKBUILD | |
parent | f90c15a50a5cefedf36bd7c043d5069b3652c092 (diff) | |
download | aports-3ab89df0030d905def63177ebc928ec23494fcfe.tar.bz2 aports-3ab89df0030d905def63177ebc928ec23494fcfe.tar.xz |
testing/seamonkey: new aport
http://www.seamonkey-project.org
Diffstat (limited to 'testing/seamonkey/APKBUILD')
-rw-r--r-- | testing/seamonkey/APKBUILD | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/testing/seamonkey/APKBUILD b/testing/seamonkey/APKBUILD new file mode 100644 index 0000000000..32681bc891 --- /dev/null +++ b/testing/seamonkey/APKBUILD @@ -0,0 +1,113 @@ +# Contributor: Marc Vertes <mvertes@free.fr> +# Maintainer: Marc Vertes <mvertes@free.fr> +pkgname=seamonkey +pkgver=2.40 +pkgrel=0 +pkgdesc="all-in-one internet application suite" +url="http://www.seamonkey-project.org" +arch="all" +license="MPL" +depends="" +depends_dev="unzip zip gtk+2.0-dev yasm alsa-lib-dev pulseaudio-dev +libxt-dev hunspell-dev nspr-dev nss-dev jpeg-dev bzip2-dev zlib-dev libpng-dev +libevent-dev libvpx-dev sqlite-dev libffi-dev pixman-dev +startup-notification-dev icu-dev" +makedepends="$depends_dev" +install="" +subpackages="" +source=" https://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/$pkgver/source/seamonkey-$pkgver.source.tar.xz +mozconfig + +fix-aouth.patch +fix-libgen.patch +fix-linux-syscall.patch +fix-mallinfo.patch +fix-platform-gettid.patch +fix-platform-linux.patch +fix-siginfo_t.patch +fix-stabs.patch +fix-sysctl.patch +fix-system-headers.patch +" + +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + local i + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir/$i" || return 1;; + esac + done +} + +build() { + cd "$_builddir" + cp ../../mozconfig .mozconfig + export MOZ_MAKE_FLAGS="$MAKEFLAGS" + export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey-$pkgver" + unset MAKEFLAGS CPPFLAGS + make -f client.mk build +} + +package() { + cd "$_builddir" + paxmark -msp */dist/bin/xpcshell + make -f client.mk DESTDIR="$pkgdir" INSTALL_SDK= install + paxmark -msp "$pkgdir/usr/lib/seamonkey-$pkgver/seamonkey" + paxmark -msp "$pkgdir/usr/lib/seamonkey-$pkgver/seamonkey-bin" + paxmark -msp "$pkgdir/usr/lib/seamonkey-$pkgver/plugin-container" + + rm -rf "$pkgdir/usr/lib/seamonkey-$pkgver/dictionaries" + rm -rf "$pkgdir/usr/lib/seamonkey-$pkgver/hypenation" + ln -s /usr/share/hunspell "$pkgdir/usr/lib/seamonkey-$pkgver/dictionaries" + ln -s /usr/share/hyphen "$pkgdir/usr/lib/seamonkey-$pkgver/hyphenation" + install -Dm644 suite/branding/nightly/icons/gtk/seamonkey.png \ + "$pkgdir/usr/share/pixmaps/seamonkey.png" + install -Dm644 mozilla/toolkit/mozapps/installer/linux/rpm/mozilla.desktop \ + "$pkgdir/usr/share/applications/seamonkey.desktop" + sed -i 's/@MOZ_APP_DISPLAYNAME@/SeaMonkey internet suite/' \ + "$pkgdir/usr/share/applications/seamonkey.desktop" + sed -i 's/@MOZ_APP_NAME@/seamonkey/' \ + "$pkgdir/usr/share/applications/seamonkey.desktop" + rm -f "$pkgdir/usr/lib/pkgconfig/seamonkey-nss.pc" + rm -f "$pkgdir/usr/lib/pkgconfig/seamonkey-nspr.pc" +} + +md5sums="5789df8f96e14577c275f10fdf8462f3 seamonkey-2.40.source.tar.xz +518a0fba45c84cb47884e18739a2e35c mozconfig +f7be9a1bb5639f3f4fc9e5bd06145fdb fix-aouth.patch +f471609b5c1ce472cced8844b441e570 fix-libgen.patch +b7b7f7ea1b9c5f427e40d17155a1ac7a fix-linux-syscall.patch +90b7c8ec4f01d98c1e18a2b78c5cb798 fix-mallinfo.patch +7f66d103a3efa87b50a1bd03b519f134 fix-platform-gettid.patch +676d4ca1cbabf6d0695edf5620df0b54 fix-platform-linux.patch +efa62f03c01f6c1da3dc59663b872e97 fix-siginfo_t.patch +3a72587709ba0f04c782b6c36c597b92 fix-stabs.patch +5c96430b83fb008750ba943944b96aed fix-sysctl.patch +b23f1511dfc54d84fdc8346c595b7499 fix-system-headers.patch" +sha256sums="7ecccc039d03f38d197b123b59ea42eac4c0c10e4bdec779b3665d79b435fa01 seamonkey-2.40.source.tar.xz +61eff85a616ffd4325d75d2d7871fe8bf2f8faa31b0a64b29c6d255ce891a5d5 mozconfig +b6224ec48fa5250652b4dcbb4c2eae34cd02486f73327774a59652911909f956 fix-aouth.patch +3c16171ab7205d5be417a739bc3cf6bb4dae154adce5a559c4b060d532ceaa71 fix-libgen.patch +d779db64ed94de9f8336deea1e3f60a8bb5f7f43165c8aad08fa04fc9b3acbd6 fix-linux-syscall.patch +8a189a43d4d5ddce8d15eb67e08742f1d07773ee8147803cd4a33490549a61df fix-mallinfo.patch +d9f192b4603ac9265476f072549f9752bd0785505c4a0cdf1ae0decd739bb22e fix-platform-gettid.patch +cabab41e8003f5445b178d59cb0b594e7c9c0009fb842be275adbd749efa5fcb fix-platform-linux.patch +f2cc65f42bd672ff1cbf4904def0ce4d99b7776dc2e2d7cc1c8bd2dcee47ed83 fix-siginfo_t.patch +04475564fa7df52b90afa5bfbf9381f50f1732a4073246f3cf268aa691f7b38c fix-stabs.patch +25493bf4d09b845102a7af9d606612c0ff8d053826da4ed6728c8a4875bdd3c6 fix-sysctl.patch +a489572c350184e9f6cf639756e602bc96df8681c3d5a4ce4629ac5964009692 fix-system-headers.patch" +sha512sums="5a81a25c75af254f1508aa615a082f013d7d06950859822a134c51a0f4c12918081f69e7835dc85114e4285a67bc4be4d509db8374dec848f6381dfce447b696 seamonkey-2.40.source.tar.xz +05e8818d3a4e2967b7ac3e92e92a125172d870326b9bf1fdd606a44e87ae8254684f2c5e2b0bb8df34c767fe62dc05950bf52447a39b4abf009ab88a8143832e mozconfig +b4c2bffec161c53087eec8bd0612095b52e514511d0f556387f1c3244a999c255da1a5f775573d86be82718ba09d3eb5aa7390b8aeb8f67c8b1b9f83e6ab16b6 fix-aouth.patch +f148a9212b9d1bf62ce99e3ea69233fcdd74ffb0948ab53d17ec417539b4f9533409b2e9c487e3789b76cdfca92da074b9ea0f82452f56f72eced9cfbcd078f1 fix-libgen.patch +ea6af26228eaa98e6d322cb5dd0723028daa054bc6bff0858f0e83b87c2a7818965d30c35710e431200fd20405c287cdb59d67919ad793bbbcd6db934e82b967 fix-linux-syscall.patch +fd6b68082843a17a97a09953f24f74e72090acbcd245e8564ffe41ed5cb0a7afbf3dfc653a6e33a5f0bb0218ec11430f92acedc0c98a32c17dd2a053c3eef855 fix-mallinfo.patch +60345a6b7ddaa0476a25a885914ad769e3ec4f2fe4bed6365dc00a5309c68a784fd585ff0f94d8bc1796245a2bacff998d244a27fd790784869e5eacd2bb9f3b fix-platform-gettid.patch +25bb4f99a2d831a8604444a1071ca946c14b9fe416929660ce6f9d196b3cecbd84b8706a8a16f2653db0d722a8f033fac9dc2f295bf5b59e7f39024d89221d01 fix-platform-linux.patch +285e9330810b0f57ebba3d15cb371543840a7c6b8a2656d6d6b3ad7e8d2ec840b34bcb75b92c3747b5a1b42625fbde3a5d1bbec7052ce47fe5455e5076ec6268 fix-siginfo_t.patch +4a7fae85299969618d729021ed79ab312650419dd849800c4e93c2b78a063a91f4003e2ee66c74abefa28b881376cf78f52e99e5ae3c08b85ba11eeae73a5034 fix-stabs.patch +43e800bdb15a11c21f71d0552ae2e92ad97574eb324f7be75cc92ed98332201386f9c9846d3e5f27b4e71452ffac71ab5b82ffdc2091d6c4830b9cb792bbdde4 fix-sysctl.patch +d65900a74901d0455266342e4efbb655d67c62b52e69f482c33c3da3e24af900a3186f1398b88cccd9e822395480cd4ec4ce0d6053978003911457cacc36f767 fix-system-headers.patch" |