[arch-commits] Commit in giblib/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 15:33:27 UTC 2020


    Date: Saturday, May 16, 2020 @ 15:33:26
  Author: foutrelis
Revision: 384791

archrelease: copy trunk to staging-x86_64

Added:
  giblib/repos/staging-x86_64/
  giblib/repos/staging-x86_64/PKGBUILD
    (from rev 384790, giblib/trunk/PKGBUILD)

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

Copied: giblib/repos/staging-x86_64/PKGBUILD (from rev 384790, giblib/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 15:33:26 UTC (rev 384791)
@@ -0,0 +1,28 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=giblib
+pkgver=1.2.4
+pkgrel=8
+pkgdesc="A library that feh uses as a wrapper to imlib2"
+arch=('x86_64')
+url="http://freshmeat.net/projects/giblib/"
+license=('MIT')
+depends=('imlib2' 'libxext' 'freetype2')
+source=("https://downloads.sourceforge.net/project/slackbuildsdirectlinks/giblib/giblib-$pkgver.tar.gz")
+sha512sums=('4866df223e6d219a5c9a327874bcd67260c83fba8f99862222df41ef86fb31efa0172a777bf46c853ca380dc2a64bbd41bf4fd658fcb84a924cab4e0f525dcfd')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" docsdir=/usr/share/doc/giblib install
+
+  # Install custom license
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


More information about the arch-commits mailing list