PKGBUILD 878 Bytes
Newer Older
gnastyle's avatar
gnastyle committed
1
pkgname=kphotoalbum
2
pkgver=5.4.2
Chaoting Liu's avatar
Chaoting Liu committed
3
pkgrel=1
gnastyle's avatar
gnastyle committed
4 5 6 7 8 9
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')
Chaoting Liu's avatar
Chaoting Liu committed
10
source=("https://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.sig})
11
sha256sums=('d0f6d4ad33a5c381d9d7d3a69e5fb137c70c37123bf800272b3e1aef77d6cd10'
Chaoting Liu's avatar
Chaoting Liu committed
12 13
            'SKIP')
validpgpkeys=('8A53F0CB9F752E6F4F72FEC6F8DECD0DDF0F74A8') # Tobias Leupold <tobias.leupold@gmx.de>
gnastyle's avatar
gnastyle committed
14 15 16 17 18 19 20

build() {
  mkdir -p build
  cd build

  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
Jeff Huang's avatar
Jeff Huang committed
21 22
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILD_TESTING=OFF
gnastyle's avatar
gnastyle committed
23 24 25 26 27 28 29 30
  make
}

package() {
  cd ${srcdir}/build

  make DESTDIR=${pkgdir} install
}