From 9d2caacbc33de06407311a5da87e5d22e0266435 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 4 Jul 2011 23:11:10 +0000 Subject: Mon Jul 4 23:11:10 UTC 2011 --- community/darktable/PKGBUILD | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'community/darktable') diff --git a/community/darktable/PKGBUILD b/community/darktable/PKGBUILD index 02737052e..aabee5e30 100644 --- a/community/darktable/PKGBUILD +++ b/community/darktable/PKGBUILD @@ -1,28 +1,27 @@ -# $Id: PKGBUILD 44530 2011-04-08 06:00:34Z spupykin $ +# $Id: PKGBUILD 50957 2011-07-03 16:56:44Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Christian Himpel # Contributor: Johannes Hanika pkgname=darktable -pkgver=0.8 -pkgrel=3 +pkgver=0.9 +pkgrel=1 pkgdesc="Utility to organize and develop raw images" arch=('i686' 'x86_64') url=http://darktable.sf.net/ license=('GPL3') depends=('exiv2>=0.18' 'gconf>=2.26' 'intltool>=0.40' 'lcms2' 'lensfun>=0.2.3' 'libglade' 'curl' 'libgnome-keyring' 'libgphoto2' 'libusb-compat' 'openexr') -makedepends=('intltool>=0.40') +makedepends=('intltool>=0.40' 'cmake' 'sqlite3') optdepends=( 'librsvg') install=darktable.install options=(!libtool) -source=(http://downloads.sourceforge.net/project/darktable/darktable/0.8/darktable-$pkgver.tar.gz) -md5sums=('1724601b0d7012a414f5398e5029cb45') +source=(http://downloads.sourceforge.net/project/darktable/darktable/$pkgver/darktable-$pkgver.tar.gz) +md5sums=('02397e09464a9084403270607133b5b5') build() { cd $srcdir/$pkgname-$pkgver - - mkdir build || true + mkdir -p build cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -31,10 +30,12 @@ build() { -DDONT_INSTALL_GCONF_SCHEMAS=True \ -DBINARY_PACKAGE_BUILD=1 \ .. - make - make DESTDIR=$pkgdir install +} +package() { + cd $srcdir/$pkgname-$pkgver/build + make DESTDIR=$pkgdir install mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}" mkdir -p "${pkgdir}/usr/share/gconf/schemas/" mv "${pkgdir}/etc/gconf/schemas/darktable.schemas" "${pkgdir}/usr/share/gconf/schemas/" -- cgit v1.2.3-54-g00ecf