summaryrefslogtreecommitdiff
path: root/nonprism/darktable
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 01:57:36 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 01:57:36 -0300
commit0be822175bb3cef0534b9a0597e84ae1ee6374ec (patch)
treec9a4fb91c61309280fd8201c7cb52789ce02a7c6 /nonprism/darktable
parent468e115b1432c745ce9ccf06d2fcca6b3cfb7227 (diff)
downloadabslibre-0be822175bb3cef0534b9a0597e84ae1ee6374ec.tar.gz
abslibre-0be822175bb3cef0534b9a0597e84ae1ee6374ec.tar.bz2
abslibre-0be822175bb3cef0534b9a0597e84ae1ee6374ec.zip
remove nonprism suffix and add complex pkgrel on nonprism packages
Diffstat (limited to 'nonprism/darktable')
-rw-r--r--nonprism/darktable/PKGBUILD45
-rw-r--r--nonprism/darktable/darktable.install11
2 files changed, 56 insertions, 0 deletions
diff --git a/nonprism/darktable/PKGBUILD b/nonprism/darktable/PKGBUILD
new file mode 100644
index 000000000..0c25441c7
--- /dev/null
+++ b/nonprism/darktable/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 111322 2014-05-16 15:51:54Z spupykin $
+# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer (Arch): Christian Himpel <chressie at gmail dot com>
+# Contributor (Arch): Johannes Hanika <hanatos at gmail dot com>
+
+pkgname=darktable
+pkgver=1.4.2
+_pkgver=1.4
+pkgrel=3.nonprism1
+pkgdesc="Utility to organize and develop raw images, without flickcurl support"
+arch=('i686' 'x86_64' 'mips64el')
+url=http://darktable.sf.net/
+license=('GPL3')
+replaces=(${pkgname}-nonprism)
+conflicts=(${pkgname}-nonprism)
+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' 'json-glib')
+makedepends=('intltool>=0.40' 'cmake' 'librsvg')
+optdepends=('librsvg')
+install=darktable.install
+source=(http://downloads.sourceforge.net/project/darktable/darktable/${_pkgver}/darktable-$pkgver.tar.xz)
+md5sums=('f86554329c2c809ffb009244a6f1d643')
+
+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/nonprism/darktable/darktable.install b/nonprism/darktable/darktable.install
new file mode 100644
index 000000000..24b15a4f5
--- /dev/null
+++ b/nonprism/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
+}