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

Felix Yan felixonmars at archlinux.org
Tue May 19 08:40:38 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:40:37
  Author: felixonmars
Revision: 386421

archrelease: copy trunk to staging-x86_64

Added:
  exempi/repos/staging-x86_64/
  exempi/repos/staging-x86_64/PKGBUILD
    (from rev 386419, exempi/trunk/PKGBUILD)

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

Copied: exempi/repos/staging-x86_64/PKGBUILD (from rev 386419, exempi/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:40:37 UTC (rev 386421)
@@ -0,0 +1,43 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: André Klitzing <aklitzing at online.de>
+
+pkgname=exempi
+pkgver=2.5.1
+pkgrel=2
+pkgdesc="A library to parse XMP metadata"
+url="https://libopenraw.freedesktop.org/wiki/Exempi"
+arch=(x86_64)
+license=(custom:BSD)
+depends=(gcc-libs expat zlib)
+makedepends=(boost git autoconf-archive)
+_commit=7a76fd69978049795fa7ece796d64330530cd4e0  # tags/2.5.1^0
+source=("git+https://anongit.freedesktop.org/git/exempi#commit=$_commit")
+sha256sums=('SKIP')
+validpgpkeys=('6C44DB3E0BF3EAF5B433239A5FEE05E6A56E15A3') # Hubert Figuiere
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr # --disable-static
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list