blob: a8f91fd58c91490dd13e5d8ae8ff67a316c893ca (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libkdcraw
pkgver=19.08.1
pkgrel=0
arch="all"
url="https://kde.org"
pkgdesc="RAW image file format support for KDE"
license="GPL-2.0-or-later and LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev libraw-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="90ff0c3a9719df4ae97dc401592adc29cdbde0bd7aabe13b468cfc3d8045d50b20d670903274f7960039ca6a4c912dc877b314ed160d07fb8b5b96912a0bf115 libkdcraw-19.08.1.tar.xz"
|