Date: Saturday, December 21, 2013 @ 13:00:20 Author: andrea Revision: 202294
archrelease: copy trunk to kde-unstable-x86_64 Added: kcodecs/repos/kde-unstable-x86_64/ kcodecs/repos/kde-unstable-x86_64/PKGBUILD (from rev 202293, kcodecs/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: kcodecs/repos/kde-unstable-x86_64/PKGBUILD (from rev 202293, kcodecs/trunk/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2013-12-21 12:00:20 UTC (rev 202294) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgname=kcodecs +pkgver=r5.7b2bc21 +pkgrel=2 +pkgdesc='Plugins allowing Qt applications to access further types of images' +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/frameworks/kcodecs' +license=('LGPL') +depends=('qt5-base') +makedepends=('extra-cmake-modules' 'git') +groups=('kf5') +source=('git://anongit.kde.org/kcodecs.git') +md5sums=('SKIP') + +pkgver() { + cd kcodecs + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../kcodecs \ + -DCMAKE_BUILD_TYPE=Debug \ + -DCMAKE_INSTALL_PREFIX=/opt/kf5 \ + -DLIB_INSTALL_DIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}