summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSevenseven2015-10-17 18:52:38 +0300
committerSevenseven2015-10-17 18:52:38 +0300
commit2bf1639a7cee5c5cec5a9a1cc79cc5a16ffee4df (patch)
treee9d02bc1c05e8f13466662242dd5dd0ec789b5da
parent6ab82b4af06692ead9bb03e906b01ab133369c3e (diff)
downloadaur-2bf1639a7cee5c5cec5a9a1cc79cc5a16ffee4df.tar.gz
KF5
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD29
2 files changed, 18 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5576803af9f..ffae84c700e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = libkexiv2-git
pkgdesc = A library to manipulate pictures metadata
- pkgver = r641.48a2e4c
+ pkgver = r781.a731352
pkgrel = 1
url = http://www.kde.org
arch = i686
@@ -10,9 +10,8 @@ pkgbase = libkexiv2-git
license = LGPL
license = FDL
makedepends = git
- makedepends = automoc4
- makedepends = cmake
- depends = kdelibs
+ makedepends = extra-cmake-modules
+ depends = qt5-base
depends = exiv2
provides = libkexiv2
conflicts = libkexiv2
diff --git a/PKGBUILD b/PKGBUILD
index 07bfed76e64..8dda012f194 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,42 @@
pkgname=libkexiv2-git
-pkgver=r641.48a2e4c
+pkgver=r781.a731352
pkgrel=1
pkgdesc='A library to manipulate pictures metadata'
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
-depends=('kdelibs' 'exiv2')
-#depends=('ki18n' 'kcoreaddons' 'ktextwidgets')
-makedepends=('git' 'automoc4' 'cmake')
+depends=('qt5-base' 'exiv2')
+makedepends=('git' 'extra-cmake-modules')
conflicts=('libkexiv2')
provides=('libkexiv2')
groups=('digikam-git')
source=('libkexiv2::git+git://anongit.kde.org/libkexiv2')
md5sums=('SKIP')
-#source=('libkexiv2::git+git://anongit.kde.org/libkexiv2#branch=frameworks')
pkgver() {
- cd ${srcdir}/libkexiv2
+ cd "${srcdir}/libkexiv2"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
- if [[ -d ${srcdir}/build ]]; then
+if [[ -d "${srcdir}/build" ]]; then
msg "Cleaning the previous build directory..."
- rm -rf ${srcdir}/build
+ rm -rf "${srcdir}/build"
fi
- mkdir ${srcdir}/build
+ mkdir "${srcdir}/build"
}
build() {
- cd ${srcdir}/build
- cmake ${srcdir}/libkexiv2 -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
+ cd "${srcdir}/build"
+ cmake "${srcdir}/libkexiv2" -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
make
}
package() {
- cd ${srcdir}/build
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
}