desktop/kphotoalbum/PKGBUILD

34 lines
931 B
Bash
Raw Normal View History

2016-11-21 04:39:20 +08:00
pkgname=kphotoalbum
2018-02-26 10:25:46 +08:00
pkgver=5.3
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})
sha256sums=('c1175489c70902511d7fa7c261a65d4dd19a3a651a1811edea3034e36fda88d1'
'SKIP')
validpgpkeys=('8A53F0CB9F752E6F4F72FEC6F8DECD0DDF0F74A8') # Tobias Leupold <tobias.leupold@gmx.de>
2016-11-21 04:39:20 +08:00
build() {
mkdir -p build
cd build
2018-02-26 10:25:46 +08:00
# Gentoo #623566
export LDFLAGS+=" -fuse-ld=gold"
2016-11-21 04:39:20 +08:00
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
}