[arch-commits] Commit in libsvgtiny/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sat Oct 20 10:09:11 UTC 2018


    Date: Saturday, October 20, 2018 @ 10:09:10
  Author: arodseth
Revision: 398038

archrelease: copy trunk to community-x86_64

Added:
  libsvgtiny/repos/community-x86_64/PKGBUILD
    (from rev 398037, libsvgtiny/trunk/PKGBUILD)
Deleted:
  libsvgtiny/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 42 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-20 10:09:02 UTC (rev 398037)
+++ PKGBUILD	2018-10-20 10:09:10 UTC (rev 398038)
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 129624 2015-03-20 12:27:56Z arodseth $
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-
-pkgname=libsvgtiny
-pkgver=0.1.6
-pkgrel=1
-pkgdesc='SVG Tiny library'
-arch=('x86_64' 'i686')
-url='http://www.netsurf-browser.org/projects/libsvgtiny/'
-license=('MIT')
-makedepends=('netsurf-buildsystem' 'git' 'libwapcaplet>=0.4.0' 'libdom>=0.3.2' 'gperf')
-depends=('libdom>=0.3.2')
-source=("git://git.netsurf-browser.org/libsvgtiny.git#tag=release/$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  sed 's:_BSD_SOURCE:_DEFAULT_SOURCE:' -i "$pkgname/Makefile"
-}
-
-build() {
-  export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable -w"
-
-  make -C "$pkgname" \
-    INCLUDEDIR=include \
-    LIBDIR=lib \
-    PREFIX=/usr \
-    COMPONENT_TYPE="lib-shared"
-}
-
-package() {
-  cd "$pkgname"
-
-  make install \
-    INCLUDEDIR=include \
-    LIBDIR=lib \
-    PREFIX=/usr \
-    DESTDIR="$pkgdir" \
-    COMPONENT_TYPE="lib-shared"
-
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# getver: source.netsurf-browser.org/libsvgtiny.git
-# vim: ts=2 sw=2 et:

Copied: libsvgtiny/repos/community-x86_64/PKGBUILD (from rev 398037, libsvgtiny/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-20 10:09:10 UTC (rev 398038)
@@ -0,0 +1,42 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=libsvgtiny
+pkgver=0.1.7
+pkgrel=1
+pkgdesc='SVG Tiny library'
+arch=('x86_64')
+url='http://www.netsurf-browser.org/projects/libsvgtiny/'
+license=('MIT')
+makedepends=('netsurf-buildsystem' 'git' 'libwapcaplet' 'libdom' 'gperf')
+depends=('libdom>=0.3.3-2')
+source=("git+https://git.netsurf-browser.org/libsvgtiny.git#tag=release/$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  sed -i 's:_BSD_SOURCE:_DEFAULT_SOURCE:' "$pkgname/Makefile"
+}
+
+build() {
+  export CFLAGS="$CFLAGS -shared -fPIC -w"
+  export LDFLAGS="$LDFLAGS -shared"
+  make -C "$pkgname" \
+    INCLUDEDIR=include \
+    LIBDIR=lib \
+    PREFIX=/usr \
+    COMPONENT_TYPE="lib-shared"
+}
+
+package() {
+  make -C "$pkgname" \
+    DESTDIR="$pkgdir" \
+    INCLUDEDIR=include \
+    LIBDIR=lib \
+    PREFIX=/usr \
+    COMPONENT_TYPE="lib-shared" \
+    install
+  install -Dm644 "$pkgname/COPYING" \
+    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# getver: source.netsurf-browser.org/libsvgtiny.git
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list