diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/darktable | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/darktable')
-rw-r--r-- | community/darktable/PKGBUILD | 44 | ||||
-rw-r--r-- | community/darktable/darktable.install | 11 |
2 files changed, 55 insertions, 0 deletions
diff --git a/community/darktable/PKGBUILD b/community/darktable/PKGBUILD new file mode 100644 index 000000000..ba15607a6 --- /dev/null +++ b/community/darktable/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 93153 2013-06-26 11:50:34Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Christian Himpel <chressie at gmail dot com> +# Contributor: Johannes Hanika <hanatos at gmail dot com> + +pkgname=darktable +pkgver=1.2.2 +_pkgver=1.2 +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' 'intltool>=0.40' 'lcms2' 'lensfun>=0.2.3' 'libglade' 'dbus-glib' + 'curl' 'libgnome-keyring' 'libgphoto2' 'openexr' 'sqlite' 'libxslt' + 'libsoup' 'gtk-engines') +makedepends=('intltool>=0.40' 'cmake' 'librsvg') +optdepends=('librsvg') +install=darktable.install +options=(!libtool) +source=(http://downloads.sourceforge.net/project/darktable/darktable/${_pkgver}/darktable-$pkgver.tar.xz) +md5sums=('df2a2b02d6d855cfd8f1cf77c7e12995') + +build() { + cd "$srcdir/$pkgname-$pkgver" + mkdir -p build + cd build + CXXFLAGS+=" -fpermissive" + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DDONT_INSTALL_GCONF_SCHEMAS=True \ + -DBINARY_PACKAGE_BUILD=1 \ + -DUSE_GCONF_BACKEND=Off \ + -DBUILD_USERMANUAL=False \ + .. + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver/build" + make DESTDIR="$pkgdir" install + mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}" +} diff --git a/community/darktable/darktable.install b/community/darktable/darktable.install new file mode 100644 index 000000000..24b15a4f5 --- /dev/null +++ b/community/darktable/darktable.install @@ -0,0 +1,11 @@ +post_install() { + [ -x `which update-desktop-database 2>/dev/null` ] && update-desktop-database -q +} + +post_upgrade() { + [ -x `which update-desktop-database 2>/dev/null` ] && update-desktop-database -q +} + +post_remove() { + [ -x `which update-desktop-database 2>/dev/null` ] && update-desktop-database -q +} |