diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/netsurf-buildsystem | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/netsurf-buildsystem')
-rw-r--r-- | community/netsurf-buildsystem/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/netsurf-buildsystem/PKGBUILD b/community/netsurf-buildsystem/PKGBUILD new file mode 100644 index 000000000..3787946b4 --- /dev/null +++ b/community/netsurf-buildsystem/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 89110 2013-04-26 20:53:25Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> + +pkgname=netsurf-buildsystem +pkgver=1.0 +pkgrel=1 +pkgdesc='The Netsurf buildsystem' +arch=('x86_64' 'i686') +url='http://www.netsurf-browser.org/' +license=('MIT') +source=("http://download.netsurf-browser.org/libs/releases/buildsystem-$pkgver.tar.gz") +sha256sums=('4495e8e12faf0ace668ab80401064ce7f65a195efe63c924c066a109649ff146') + +build() { + cd "$srcdir/buildsystem-$pkgver" + + sed -i 's:-Werror::' Makefile + make PREFIX=/usr COMPONENT_TYPE='lib-shared' + make PREFIX=/usr COMPONENT_TYPE='lib-static' +} + +package() { + cd "$srcdir/buildsystem-$pkgver" + + make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE='lib-shared' + make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE='lib-static' + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +# vim:set ts=2 sw=2 et: |