desktop/kphotoalbum/PKGBUILD
2017-09-16 20:02:35 +02:00

29 lines
751 B
Bash

pkgname=kphotoalbum
pkgver=5.2
pkgrel=2
pkgdesc="KDE Photo Album, picture collection manager"
url="http://www.kphotoalbum.org/"
arch=('x86_64')
license=('GPL')
depends=('libkipi' 'libkdcraw' 'libkface' 'libkgeomap' 'exiv2')
makedepends=('extra-cmake-modules' 'python3' 'plasma-framework' 'phonon-qt5' 'kdoctools' 'kparts' 'libkexiv2')
source=("https://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('9ad02080b21787d5824d0c4bb49be2a00822098adca7937e9c7497440d3b0b89')
build() {
mkdir -p build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}