mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
67 lines
1.6 KiB
Bash
67 lines
1.6 KiB
Bash
# $Id: PKGBUILD 54219 2009-10-07 10:21:09Z andrea $
|
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
pkgbase=kdetoys
|
|
pkgname=('kdetoys-amor'
|
|
'kdetoys-kteatime'
|
|
'kdetoys-ktux'
|
|
'kdetoys-kweather')
|
|
pkgver=4.3.2
|
|
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")
|
|
md5sums=('a4496c504940f076997e553f257e4b3d')
|
|
|
|
build() {
|
|
cd $srcdir
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgbase}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package_kdetoys-amor() {
|
|
pkgdesc='On-Screen Creature'
|
|
depends=('kdelibs' '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=('kdelibs' '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
|
|
}
|
|
|
|
package_kdetoys-kweather() {
|
|
pkgdesc='A weather reporting panel applet'
|
|
depends=('kdelibs' 'kdebase-runtime')
|
|
install='kdetoys.install'
|
|
cd $srcdir/build/kweather
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kweather
|
|
make DESTDIR=$pkgdir install
|
|
}
|