desktop/kphotoalbum/PKGBUILD

31 lines
876 B
Bash
Raw Normal View History

2016-11-21 04:39:20 +08:00
pkgname=kphotoalbum
2018-10-29 15:49:35 +08:00
pkgver=5.4
2018-02-26 10:25:46 +08:00
pkgrel=1
2016-11-21 04:39:20 +08:00
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')
2018-02-26 10:25:46 +08:00
source=("https://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.sig})
2018-10-29 15:49:35 +08:00
sha256sums=('d031ce9eec4c16d628e1152cee4ab6aeef5194ce6517dd7b6493e60d45ad852d'
2018-02-26 10:25:46 +08:00
'SKIP')
validpgpkeys=('8A53F0CB9F752E6F4F72FEC6F8DECD0DDF0F74A8') # Tobias Leupold <tobias.leupold@gmx.de>
2016-11-21 04:39:20 +08:00
build() {
mkdir -p build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
2017-03-12 20:15:32 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF
2016-11-21 04:39:20 +08:00
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}