summaryrefslogtreecommitdiff
path: root/community/rawstudio/PKGBUILD
blob: 55792e67b98baae1448afe72ee32115fc119b602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 56347 2011-10-05 19:08:35Z andrea $
# 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=2.0
pkgrel=3
pkgdesc="An open source raw-image converter written in GTK+"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://rawstudio.org/"
depends=('exiv2' 'libgphoto2' 'flickcurl' 'libjpeg' 'fftw' 'gconf' 'lensfun'
	 'raptor1' 'lcms' 'gtk2')
install=${pkgname}.install
options=('!libtool')
source=(http://rawstudio.org/files/release/${pkgname}-${pkgver}.tar.gz)
md5sums=('b2f86b8ca6b83ad954e3104c4cb89e9b')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  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
}