Date: Saturday, December 21, 2013 @ 13:10:15 Author: andrea Revision: 202316
archrelease: copy trunk to kde-unstable-x86_64 Added: kemoticons/repos/kde-unstable-x86_64/ kemoticons/repos/kde-unstable-x86_64/PKGBUILD (from rev 202315, kemoticons/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: kemoticons/repos/kde-unstable-x86_64/PKGBUILD (from rev 202315, kemoticons/trunk/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2013-12-21 12:10:15 UTC (rev 202316) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgname=kemoticons +pkgver=r5.3b456eb +pkgrel=1 +pkgdesc='KEmoticons' +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/frameworks/kemoticons' +license=('LGPL') +depends=('karchive' 'kservice') +makedepends=('extra-cmake-modules' 'git') +groups=('kf5') +source=('git://anongit.kde.org/kemoticons.git') +md5sums=('SKIP') + +pkgver() { + cd kemoticons + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../kemoticons \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/opt/kf5 \ + -DLIB_INSTALL_DIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}