summaryrefslogtreecommitdiff
path: root/community/rawstudio
diff options
context:
space:
mode:
Diffstat (limited to 'community/rawstudio')
-rw-r--r--community/rawstudio/PKGBUILD31
-rw-r--r--community/rawstudio/rawstudio.install6
2 files changed, 20 insertions, 17 deletions
diff --git a/community/rawstudio/PKGBUILD b/community/rawstudio/PKGBUILD
index 06730f73a..7164c77d2 100644
--- a/community/rawstudio/PKGBUILD
+++ b/community/rawstudio/PKGBUILD
@@ -1,30 +1,33 @@
-# $Id: PKGBUILD 40356 2011-02-23 08:05:16Z ebelanger $
+# $Id: PKGBUILD 44889 2011-04-12 12:28:53Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: cdhotfire <cdhotfire@gmail.com>
pkgname=rawstudio
-pkgver=1.2
-pkgrel=6
+pkgver=2.0
+pkgrel=1
pkgdesc="An open source raw-image converter written in GTK+"
arch=('i686' 'x86_64')
license=('GPL')
url="http://rawstudio.org/"
-depends=('gconf' 'libxml2' 'lcms' 'libjpeg' 'libtiff' 'desktop-file-utils' 'exiv2')
+depends=('exiv2' 'libgphoto2' 'flickcurl' 'libjpeg' 'fftw' 'gconf' 'lensfun'
+ 'raptor' 'lcms')
install=${pkgname}.install
-source=(http://rawstudio.org/files/release/${pkgname}-${pkgver}.tar.gz
- 'rawstudio-const.patch')
-md5sums=('25399cd80294fa44220a8940fc77689f' '6692b460e838ea56462aff7626b2dcef')
-sha1sums=('9ce96c40e0b8feaf4627c14310646782578d4da1' '95d83914d5ae156f0fe747945516ae6cc93adac5')
+options=('!libtool')
+source=(http://rawstudio.org/files/release/${pkgname}-${pkgver}.tar.gz)
+md5sums=('b2f86b8ca6b83ad954e3104c4cb89e9b')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/rawstudio-const.patch"
- ./configure --prefix=/usr
- make
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make prefix="${pkgdir}/usr" install
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make prefix="${pkgdir}/usr" install
+ mkdir $pkgdir/usr/lib/rawstudio
+ mv $pkgdir/usr/share/rawstudio/plugins $pkgdir/usr/lib/rawstudio
+ ln -s ../../lib/rawstudio/plugins $pkgdir/usr/share/rawstudio/plugins
}
diff --git a/community/rawstudio/rawstudio.install b/community/rawstudio/rawstudio.install
index 5e5cfef4d..261adb7b4 100644
--- a/community/rawstudio/rawstudio.install
+++ b/community/rawstudio/rawstudio.install
@@ -1,11 +1,11 @@
post_install() {
- update-desktop-database -q
+ update-desktop-database -q || true
}
post_upgrade() {
- post_install $1
+ update-desktop-database -q || true
}
post_remove() {
- update-desktop-database -q
+ update-desktop-database -q || true
}