summaryrefslogtreecommitdiff
path: root/testing/kdeedu-kturtle/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kdeedu-kturtle/PKGBUILD')
-rw-r--r--testing/kdeedu-kturtle/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kdeedu-kturtle/PKGBUILD b/testing/kdeedu-kturtle/PKGBUILD
new file mode 100644
index 000000000..3c388a23e
--- /dev/null
+++ b/testing/kdeedu-kturtle/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 164576 2012-08-01 14:39:06Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdeedu-kturtle
+pkgver=4.9.0
+pkgrel=1
+pkgdesc="Educational Programming Environment"
+url="http://kde.org/applications/education/kturtle/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kturtle-${pkgver}.tar.xz")
+sha1sums=('013d88bfd86183138eacf3129722efdfa0742064')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kturtle-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}