archrelease: copy trunk to community-any
[ArchLinux/community.git] / rawtherapee / repos / community-x86_64 / PKGBUILD
blobc2aacf22f46d34c7dd1dd34714b6e0325d17b1f4
1 # Maintainer: Lukas Jirkovsky <l.jirkovsky AT gmail.com>
2 # Contributor: Bogdan Szczurek <thebodzio(at)gmail.com>
3 # Contributor: Vaclav Kramar <vaclav.kramar@tiscali.cz>
4 # Contributor: Archie <mymaud@gmail.com>
6 pkgname=rawtherapee
7 epoch=1
8 pkgver=5.9
9 pkgrel=2
10 pkgdesc='A powerful cross-platform raw image processing program'
11 arch=('x86_64')
12 url='https://www.rawtherapee.com/'
13 license=('GPL3')
14 depends=('fftw' 'gtk3' 'glibmm' 'gtkmm3' 'lcms2' 'lensfun' 'libcanberra'
15          'libiptcdata' 'desktop-file-utils' 'hicolor-icon-theme')
16 makedepends=('cmake')
17 source=("https://github.com/Beep6581/RawTherapee/releases/download/${pkgver}/rawtherapee-$pkgver.tar.xz")
18 sha1sums=('e99573efaeb83d4f6314fc11a73a411304c83d2b')
19 sha256sums=('8eaf28c428185c165ef5a28f69595dc77a1c98826065a1f51a28c86c7b0d4823')
21 build() {
22   mkdir -p "$srcdir/$pkgname-build"
23   cd "$srcdir/$pkgname-build"
25   cmake "$srcdir/$pkgname-$pkgver" \
26     -DCMAKE_INSTALL_PREFIX=/usr \
27     -DCMAKE_BUILD_TYPE=Release \
28     -DCACHE_NAME_SUFFIX=""
29   make
32 package() {
33   cd "$srcdir/$pkgname-build"
34   make DESTDIR="$pkgdir/" install
37 # vim:set ts=2 sw=2 et: