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

Felix Yan felixonmars at archlinux.org
Tue May 19 07:51:38 UTC 2020


    Date: Tuesday, May 19, 2020 @ 07:51:38
  Author: felixonmars
Revision: 386053

archrelease: copy trunk to staging-x86_64

Added:
  exiv2/repos/staging-x86_64/
  exiv2/repos/staging-x86_64/PKGBUILD
    (from rev 386052, exiv2/trunk/PKGBUILD)

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

Copied: exiv2/repos/staging-x86_64/PKGBUILD (from rev 386052, exiv2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 07:51:38 UTC (rev 386053)
@@ -0,0 +1,28 @@
+# Maintainer: tobias <tobias at arhlinux.org>
+
+pkgname=exiv2
+pkgver=0.27.2
+pkgrel=2
+pkgdesc="Exif, Iptc and XMP metadata manipulation library and tools"
+arch=('x86_64')
+url="https://exiv2.org"
+license=('GPL2')
+depends=('gcc-libs' 'zlib' 'expat')
+makedepends=('cmake')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/Exiv2/exiv2/archive/v$pkgver.tar.gz")
+sha256sums=('3dbcaf01fbc5b98d42f091d1ff0d4b6cd9750dc724de3d9c0d113948570b2934')
+
+build() {
+  cd $pkgname-$pkgver 
+  cmake . \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DEXIV2_ENABLE_VIDEO=ON \
+    -DEXIV2_BUILD_SAMPLES=OFF \
+    -DEXIV2_ENABLE_NLS=ON
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list