archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / libopenraw / trunk / PKGBUILD
blob917e3e7c36424ab14017dbb7c2ba7cf31533483c
1 # Maintainer: Frederik Schwan <freswa at archlinux dot org>
2 # Contributor: Alexander F Rødseth <xyproto@archlinux.org>
3 # Contributor: Ronald van Haren <ronald.archlinux.org>
4 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
5 # Contributor: <boromil@gmail.com>
7 pkgname=libopenraw
8 pkgver=0.3.5
9 pkgrel=1
10 pkgdesc='Library for decoding RAW files'
11 arch=('x86_64')
12 url='https://libopenraw.freedesktop.org/'
13 license=('LGPL')
14 depends=('gdk-pixbuf2')
15 makedepends=('boost' 'libxml2' 'cargo')
16 provides=('libopenraw.so' 'libopenrawgnome.so')
17 source=("https://libopenraw.freedesktop.org/download/${pkgname}-${pkgver}.tar.bz2"{.asc,})
18 b2sums=('SKIP'
19         '7cf2dbd6e364e82fef85b41f9632c53ee58dcc8ce2491291d2882de8af3c414ee3175814cd6f0f5e8f1845e447a9f63c5eaf3076db74d745111f92970a6660e3')
20 validpgpkeys=('6C44DB3E0BF3EAF5B433239A5FEE05E6A56E15A3') # Hubert Figuiere <hub@mozilla.com>
22 prepare() {
23 # Fix libopenraw dependency in -gnome pc file
24   sed -e 's|libopenraw-0.1|libopenraw-0.3|' -i $pkgname-$pkgver/gnome/libopenraw-gnome-0.3.pc.in
27 build() {
28   cd ${pkgname}-${pkgver}
30   ./configure --prefix=/usr
31   make
34 package() {
35   make -C ${pkgname}-${pkgver} DESTDIR="${pkgdir}" install