[arch-commits] Commit in libopenraw/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Oct 20 08:05:37 UTC 2016
Date: Thursday, October 20, 2016 @ 08:05:37
Author: heftig
Revision: 192692
0.0.9+4+g61b4f35-1
Modified:
libopenraw/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-20 07:56:16 UTC (rev 192691)
+++ PKGBUILD 2016-10-20 08:05:37 UTC (rev 192692)
@@ -5,26 +5,36 @@
# Contributor: <boromil at gmail.com>
pkgname=libopenraw
-pkgver=0.0.9
-pkgrel=4
+pkgver=0.0.9+4+g61b4f35
+pkgrel=1
pkgdesc='Library for decoding RAW files'
arch=('x86_64' 'i686')
url='http://libopenraw.freedesktop.org/'
license=('LGPL')
depends=('gdk-pixbuf2')
-makedepends=('boost' 'libxml2')
-source=("http://libopenraw.freedesktop.org/download/$pkgname-$pkgver.tar.bz2")
-sha256sums=('49fd1adf0a0228c7a17a79bf98d8d03664195feae1e50f4ddd1b20162626e18f')
+makedepends=('boost' 'libxml2' 'git')
+_commit=61b4f359b8ce310dae3f0d1fd51274c6537172ee # 0.0.8-api
+source=("git://anongit.freedesktop.org/libopenraw#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd "$pkgname"
+ git describe --tags | sed 's/^libopenraw-//;s/-/+/g'
+}
+
+prepare() {
+ cd "$pkgname"
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd "$pkgname-$pkgver"
-
+ cd "$pkgname"
./configure --prefix=/usr
make
}
package() {
- make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ make -C "$pkgname" DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list