diff options
author | root <root@rshg047.dnsready.net> | 2011-06-11 22:48:58 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-11 22:48:58 +0000 |
commit | e392819937e37aa7f33ba83bb3e23bb1ccabaa37 (patch) | |
tree | 973aad7153fa658dce8cc60d9fc78f41c2dfa578 /testing/kdetoys/PKGBUILD | |
parent | 8bb6e3c7e5bec1adf2c819a1985de4d1f3347fb6 (diff) |
Sat Jun 11 22:48:58 UTC 2011
Diffstat (limited to 'testing/kdetoys/PKGBUILD')
-rw-r--r-- | testing/kdetoys/PKGBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/testing/kdetoys/PKGBUILD b/testing/kdetoys/PKGBUILD new file mode 100644 index 000000000..b280bf58c --- /dev/null +++ b/testing/kdetoys/PKGBUILD @@ -0,0 +1,56 @@ +# $Id: PKGBUILD 126544 2011-06-06 06:10:05Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgbase=kdetoys +pkgname=('kdetoys-amor' + 'kdetoys-kteatime' + 'kdetoys-ktux') +pkgver=4.6.4 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdetoys') +makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdebase-workspace') +source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2") +sha1sums=('12a0228010a1720649807cb8efe71f572bd24af3') + +build() { + cd $srcdir + mkdir build + cd build + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package_kdetoys-amor() { + pkgdesc='On-Screen Creature' + depends=('kdebase-runtime') + install='kdetoys.install' + cd $srcdir/build/amor + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/amor + make DESTDIR=$pkgdir install +} + +package_kdetoys-kteatime() { + pkgdesc='Tea Cooker' + depends=('kdebase-runtime') + install='kdetoys.install' + cd $srcdir/build/kteatime + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/kteatime + make DESTDIR=$pkgdir install +} + +package_kdetoys-ktux() { + pkgdesc='KTux' + depends=('kdebase-workspace' ) + install='kdetoys.install' + cd $srcdir/build/ktux + make DESTDIR=$pkgdir install +} |