[arch-commits] Commit in exiv2/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Thu Aug 6 11:06:21 UTC 2015


    Date: Thursday, August 6, 2015 @ 13:06:21
  Author: jgc
Revision: 243079

upgpkg: exiv2 0.25-2

Switch to autotools build (FS#45798)

Modified:
  exiv2/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++----------------------
 1 file changed, 4 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-06 11:05:51 UTC (rev 243078)
+++ PKGBUILD	2015-08-06 11:06:21 UTC (rev 243079)
@@ -3,40 +3,22 @@
 
 pkgname=exiv2
 pkgver=0.25
-pkgrel=1
+pkgrel=2
 pkgdesc="Exif, Iptc and XMP metadata manipulation library and tools"
 arch=('i686' 'x86_64')
 url="http://exiv2.org"
 license=('GPL2')
 depends=('gcc-libs' 'zlib' 'expat')
-makedepends=('cmake') # for doc: 'doxygen' 'graphviz' 'ttf-liberation' 'libxslt')
 source=(http://www.exiv2.org/${pkgname}-${pkgver}.tar.gz)
-        # for doc build maybe add from FC exiv2-0.24-doxygen_config.patch)
 md5sums=('258d4831b30f75a01e0234065c6c2806')
 
-prepare() {
-  mkdir build
-  # fix man pages install patch
-  sed -i "s:man/man1:share/man/man1:" ${pkgbase}-${pkgver}/src/CMakeLists.txt
-}
 build() {
-  cd build
-  cmake ../${pkgbase}-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DEXIV2_ENABLE_BUILD_PO:BOOL=ON \
-    -DEXIV2_ENABLE_BUILD_SAMPLES=ON
+  cd $pkgname-$pkgver 
+  ./configure --prefix=/usr --enable-video
   make
-#  cd ../${pkgbase}-${pkgver}
-#  make -j1 doc # needs to be fixed
 }
 
-#check() {
-#  cd build
-#  make tests # doesn't work for me not finding tests dir
-#}
-
 package() {
-  cd build
+  cd $pkgname-$pkgver
   make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list