diff options
Diffstat (limited to 'extra/libkdeedu/PKGBUILD')
-rw-r--r-- | extra/libkdeedu/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/libkdeedu/PKGBUILD b/extra/libkdeedu/PKGBUILD new file mode 100644 index 000000000..e8ae228c0 --- /dev/null +++ b/extra/libkdeedu/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 132582 2011-07-25 00:12:47Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=libkdeedu +pkgver=4.7.0 +pkgrel=1 +pkgdesc="Libraries used by KDE Education applications" +url="http://kde.org/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +depends=('kdelibs') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +replaces=('kdeedu-libkdeedu' 'kdeedu-data') +source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('fbe1f3a7416d58bd4b0653280181da192e330214') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} |