community/rawtherapee: call default_prepare

This commit is contained in:
Leonardo Arena 2018-03-01 08:29:53 +00:00
parent e4ce79df5a
commit 1257ebb0c5

View File

@ -3,7 +3,7 @@
pkgname=rawtherapee
pkgver=5.4_rc2
_pkgver=${pkgver/_/-}
pkgrel=1
pkgrel=2
pkgdesc="RawTherapee is image processing software simular to Lightroom or Aperture"
url="http://rawtherapee.com"
arch="x86 x86_64 ppc64le"
@ -14,14 +14,15 @@ makedepends="bzip2-dev exiv2-dev expat-dev fftw-dev glib-dev gtk+3.0-dev \
libiptcdata-dev libjpeg-turbo-dev lensfun-dev"
options="!check !strip"
subpackages="$pkgname-doc $pkgname-dbg"
source="$pkgname-$pkgver.tar.xz::http://rawtherapee.com/shared/source/rawtherapee-$_pkgver.tar.xz"
source="$pkgname-$pkgver.tar.xz::http://rawtherapee.com/shared/source/rawtherapee-${_pkgver}.tar.xz"
builddir="$srcdir"/$pkgname-$_pkgver
prepare() {
default_prepare
mkdir -p "$builddir"/build
cd "$builddir"/build
export CXXFLAGS="$CXXFLAGS -std=c++11"
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
cd "$builddir"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
}
build() {