[arch-commits] Commit in libnsgif/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:08:08 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:08:07
  Author: felixonmars
Revision: 659574

archrelease: copy trunk to community-staging-x86_64

Added:
  libnsgif/repos/community-staging-x86_64/
  libnsgif/repos/community-staging-x86_64/PKGBUILD
    (from rev 659571, libnsgif/trunk/PKGBUILD)

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

Copied: libnsgif/repos/community-staging-x86_64/PKGBUILD (from rev 659571, libnsgif/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:08:07 UTC (rev 659574)
@@ -0,0 +1,36 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+
+pkgname=libnsgif
+pkgver=0.2.1
+pkgrel=4
+pkgdesc='Decoding library for the GIF image file format'
+arch=(x86_64)
+url='https://www.netsurf-browser.org/projects/libnsgif/'
+license=(MIT)
+makedepends=('netsurf-buildsystem>=1.9')
+source=("https://download.netsurf-browser.org/libs/releases/$pkgname-$pkgver-src.tar.gz")
+sha256sums=('9eaea534cd70b53c5aaf45317ae957701685a6b4a88dbe34ed26f4faae879a4b')
+
+build() {
+  export CFLAGS="$CFLAGS -fno-strict-aliasing -w"
+  make -C $pkgname-$pkgver \
+    INCLUDEDIR=include \
+    LIBDIR=lib PREFIX=/usr \
+    COMPONENT_TYPE="lib-shared"
+}
+
+package() {
+  make -C $pkgname-$pkgver \
+    INCLUDEDIR=include \
+    LIBDIR=lib \
+    PREFIX=/usr \
+    DESTDIR="$pkgdir" \
+    install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# getver: netsurf-browser.org/projects/libnsgif/
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list