summaryrefslogtreecommitdiff
path: root/testing/kdeedu-kiten/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kdeedu-kiten/PKGBUILD')
-rw-r--r--testing/kdeedu-kiten/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kdeedu-kiten/PKGBUILD b/testing/kdeedu-kiten/PKGBUILD
new file mode 100644
index 000000000..1c3a10046
--- /dev/null
+++ b/testing/kdeedu-kiten/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 164571 2012-08-01 14:38:41Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdeedu-kiten
+pkgver=4.9.0
+pkgrel=1
+pkgdesc="Japanese Reference/Study Tool"
+url="http://kde.org/applications/education/kiten/"
+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/kiten-${pkgver}.tar.xz")
+sha1sums=('60729b6df981d6102266eb159359827a58d34c7f')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kiten-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}