summaryrefslogtreecommitdiff
path: root/community/rawstudio
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-04-14 10:53:59 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-04-14 10:53:59 -0300
commit1fafdadaae260eaef7194102b5eb842466e63dd1 (patch)
tree734ab5c097f5a2ed36c2a7049d44f9c2bb46dede /community/rawstudio
parent1f52af629b1911ab027ef9c5d4d5903b48792050 (diff)
parent6dab5c46b00f624c7900ff6d11b75bcafbe251d0 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/unpaper/PKGBUILD community/virtualbox/PKGBUILD core/crda/PKGBUILD core/eventlog/PKGBUILD extra/v86d/PKGBUILD extra/vlc/PKGBUILD testing/mesa/PKGBUILD
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 5c43ea6aa..ac33e7d99 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' 'mips64el')
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
}