2015-12-05 07:26:22 +08:00
|
|
|
|
|
|
|
pkgname=libkexiv2_4
|
|
|
|
_pkgname=libkexiv2
|
|
|
|
pkgver=15.08.3
|
2016-04-21 06:52:24 +08:00
|
|
|
pkgrel=2
|
2015-12-05 07:26:22 +08:00
|
|
|
pkgdesc="A library to manipulate pictures metadata"
|
|
|
|
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2"
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(GPL LGPL FDL)
|
2016-04-21 06:52:24 +08:00
|
|
|
depends=(kdelibs exiv2)
|
2015-12-05 07:26:22 +08:00
|
|
|
makedepends=(cmake automoc4)
|
|
|
|
replaces=('kdegraphics-libkexiv2' 'libkexiv2<15.11')
|
|
|
|
conflicts=('kdegraphics-libkexiv2' 'libkexiv2<15.11')
|
|
|
|
source=("http://download.kde.org/stable/applications/$pkgver/src/$_pkgname-$pkgver.tar.xz")
|
|
|
|
sha1sums=('09adf7887dc644431a6930ba645162707c16bb3d')
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|