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

Levente Polyak anthraxx at archlinux.org
Sat May 23 16:32:36 UTC 2020


    Date: Saturday, May 23, 2020 @ 16:32:35
  Author: anthraxx
Revision: 387458

upgpkg: libexif 0.6.22-1

Modified:
  libexif/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-23 16:21:52 UTC (rev 387457)
+++ PKGBUILD	2020-05-23 16:32:35 UTC (rev 387458)
@@ -1,24 +1,32 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
 # Contributor: Tobias Kieslich <tobias at justdreams.de>
 
 pkgname=libexif
-pkgver=0.6.21
-pkgrel=4
-pkgdesc="A library to parse an EXIF file and read the data from those tags"
+pkgver=0.6.22
+pkgrel=1
+pkgdesc='Library to parse an EXIF file and read the data from those tags'
+url='https://github.com/libexif/libexif'
 arch=(x86_64)
 license=('LGPL')
-url="https://sourceforge.net/projects/libexif"
 depends=('glibc')
-source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('16cdaeb62eb3e6dfab2435f7d7bccd2f37438d21c5218ec4e58efa9157d4d41a')
+provides=('libexif.so')
+source=(${url}/archive/${pkgname}-${pkgver//./_}-release.tar.gz)
+sha512sums=('6c63abe2734c9e83fb04adb00bdd77f687165007c0efd0279df26c101363b990604050c430c7dd73dfa8735dd2fd196334d321bdb114d4869998f21e7bed5b43')
+b2sums=('db424f537984c95cad73a69c7812009caa336b22ca69135cef9760a03f9a8f10dc727f8900edd58a7f3211f44e7ca2fa115575e33cb0c980bfc10f84d7e169fe')
 
+prepare() {
+  cd ${pkgname}-${pkgname}-${pkgver//./_}-release
+  autoreconf -fiv
+}
+
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgname}-${pkgver//./_}-release
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgname}-${pkgver//./_}-release
   make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list