[arch-commits] Commit in netsurf-buildsystem/repos (4 files)

Alexander Rødseth arodseth at archlinux.org
Wed Nov 1 10:55:03 UTC 2017


    Date: Wednesday, November 1, 2017 @ 10:55:01
  Author: arodseth
Revision: 264983

archrelease: copy trunk to community-any

Added:
  netsurf-buildsystem/repos/community-any/
  netsurf-buildsystem/repos/community-any/PKGBUILD
    (from rev 264982, netsurf-buildsystem/trunk/PKGBUILD)
Deleted:
  netsurf-buildsystem/repos/community-i686/
  netsurf-buildsystem/repos/community-x86_64/

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: netsurf-buildsystem/repos/community-any/PKGBUILD (from rev 264982, netsurf-buildsystem/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2017-11-01 10:55:01 UTC (rev 264983)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+
+pkgname=netsurf-buildsystem
+pkgver=1.6
+pkgrel=1
+pkgdesc='The Netsurf buildsystem'
+arch=('any')
+url='http://source.netsurf-browser.org/buildsystem.git/' # invalid https
+license=('MIT')
+source=("http://download.netsurf-browser.org/libs/releases/buildsystem-$pkgver.tar.gz")
+sha256sums=('3d9c8a2f60dab6add712a2e67ba35f592e31688566b2ded38d0d61461138b35c')
+
+build() {
+  cd "buildsystem-$pkgver"
+
+  sed -i 's:-Werror::' Makefile
+  make PREFIX=/usr COMPONENT_TYPE='lib-shared'
+  make PREFIX=/usr COMPONENT_TYPE='lib-static'
+}
+
+package() {
+  cd "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"
+}
+
+# getver: git.netsurf-browser.org/buildsystem.git/plain/Makefile
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list