aboutsummaryrefslogtreecommitdiffstats
path: root/testing/netsurf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-02 07:36:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-02 07:36:28 +0000
commit025b818f69ca047a344c761e79f4b90c974e3f60 (patch)
treef125eb382b4266cd53056140e0974e4b2ff3270a /testing/netsurf
parent7fbffc82fc9f82bf4e6fafab7c301219ef60aeec (diff)
downloadaports-025b818f69ca047a344c761e79f4b90c974e3f60.tar.bz2
aports-025b818f69ca047a344c761e79f4b90c974e3f60.tar.xz
testing/netsurf: clean up
fix execution of netsurf.sh in global scope. It was likely a mistake.
Diffstat (limited to 'testing/netsurf')
-rw-r--r--testing/netsurf/APKBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/testing/netsurf/APKBUILD b/testing/netsurf/APKBUILD
index 14dd28ecf2..2641337448 100644
--- a/testing/netsurf/APKBUILD
+++ b/testing/netsurf/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=netsurf
pkgver=3.4
-pkgrel=0
+pkgrel=1
pkgdesc="NetSurf is a free, open source web browser."
url="http://www.netsurf-browser.org"
arch="all"
@@ -14,8 +14,8 @@ makedepends="curl-dev openssl-dev doxygen flex bison libwebp-dev lcms2-dev \
check-dev libidn-dev libharu-dev librsvg-dev libjpeg-turbo-dev"
install=""
subpackages="$pkgname-doc"
-source="http://download.netsurf-browser.org/netsurf/releases/source-full/${pkgname}-all-${pkgver}.tar.gz"
- "netsurf.sh"
+source="http://download.netsurf-browser.org/netsurf/releases/source-full/${pkgname}-all-${pkgver}.tar.gz
+ netsurf"
builddir=${srcdir}/${pkgname}-all-${pkgver}
build() {
@@ -29,11 +29,14 @@ package() {
cd "$builddir"
make PREFIX=/usr TARGET=gtk DESTDIR="${pkgdir}" install
mv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/bin/$pkgname.elf"
- install -Dm755 "../$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm755 "$srcdir/netsurf" "$pkgdir/usr/bin/$pkgname"
mkdir -p "$pkgdir"/usr/share/man/man1/
install -Dm644 netsurf/Docs/netsurf-gtk.1 "$pkgdir"/usr/share/man/man1/
}
-md5sums="7e31c250908a2ca582acef5a086dfbac netsurf-all-3.4.tar.gz"
-sha256sums="c62cbecfb19b78b27b9065858484696c179ff17f828b848e28d6617fcdaafdd6 netsurf-all-3.4.tar.gz"
-sha512sums="89af66021ad10a437be085c0ee40e7ac3df44f68660bb582017569d5982974ba68777cfb924cb2de585b972ea8112bc033b8905906f9be18c6b8a154a9ae0a46 netsurf-all-3.4.tar.gz"
+md5sums="7e31c250908a2ca582acef5a086dfbac netsurf-all-3.4.tar.gz
+59f2a4c36945cb339d8acd6e4f798338 netsurf"
+sha256sums="c62cbecfb19b78b27b9065858484696c179ff17f828b848e28d6617fcdaafdd6 netsurf-all-3.4.tar.gz
+0c35bcc46a16b8fa3a30289666c44506887f1a32520cf9cf522e71e0e4b5c38b netsurf"
+sha512sums="89af66021ad10a437be085c0ee40e7ac3df44f68660bb582017569d5982974ba68777cfb924cb2de585b972ea8112bc033b8905906f9be18c6b8a154a9ae0a46 netsurf-all-3.4.tar.gz
+98d2319e31368b63afc01c82647e6d7bbc868775f8a26f0e65283509fb73f36b248a884d22822486402fb38fdf6cb463b2743d806c1edff32e358b4b444fde45 netsurf"