# Contributor : Andrea Scarpino pkgname=kcodecs pkgver=5.48.0 pkgrel=1 pkgdesc='Plugins allowing Qt applications to access further types of images' arch=('x86_64') url='https://projects.kde.org/projects/frameworks/kcodecs' license=('LGPL') depends=('qt5-base' 'gperf') makedepends=("extra-cmake-modules>=5.48.0" 'qt5-tools') checkdepends=('cmake') options=("debug") groups=('kf5') source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}) sha256sums=('56a47b66bd40ba9baa232459eaf4ebcd066e9f2db9c9bb61007b9395e7d0e0df' SKIP) validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure prepare() { mkdir -p build } build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_SYSCONFDIR=/etc \ -DKDE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=OFF \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@" make } # check() { # cd build # make test # } package() { cd build make DESTDIR="${pkgdir}" install }