mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 08:57:15 +08:00
35 lines
803 B
Bash
35 lines
803 B
Bash
|
|
pkgname=libkdcraw4
|
|
_pkgname=libkdcraw
|
|
pkgver=15.08.3
|
|
pkgrel=2
|
|
pkgdesc="A C++ interface used to decode RAW picture"
|
|
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw"
|
|
arch=(x86_64)
|
|
license=(GPL LGPL FDL)
|
|
depends=(kdelibs libraw)
|
|
makedepends=(cmake automoc4)
|
|
replaces=('kdegraphics-libkdcraw' 'libkdcraw<15.11')
|
|
conflicts=('kdegraphics-libkdcraw' 'libkdcraw<15.11')
|
|
install=$pkgname.install
|
|
source=("http://download.kde.org/stable/applications/$pkgver/src/$_pkgname-$pkgver.tar.xz")
|
|
sha1sums=('faf93404a36162a381abcafd289e3de811774a25')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../$_pkgname-$pkgver \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DKDE4_BUILD_TESTS=OFF \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|