summaryrefslogtreecommitdiff
path: root/staging/kdeedu-rocs
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-05 23:15:23 +0000
committerroot <root@rshg054.dnsready.net>2011-12-05 23:15:23 +0000
commit55d1e19e71b453a0f47c599f281a2ad2644247d2 (patch)
treee4988a18e52a5f283c69611807002a1a20c918ed /staging/kdeedu-rocs
parent392d2d86b3657d90c3954a44dd6e3e5a4d12d455 (diff)
Mon Dec 5 23:15:23 UTC 2011
Diffstat (limited to 'staging/kdeedu-rocs')
-rw-r--r--staging/kdeedu-rocs/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/staging/kdeedu-rocs/PKGBUILD b/staging/kdeedu-rocs/PKGBUILD
new file mode 100644
index 000000000..fa293bb09
--- /dev/null
+++ b/staging/kdeedu-rocs/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 144161 2011-12-04 09:18:28Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdeedu-rocs
+pkgver=4.7.4
+pkgrel=1
+pkgdesc="Rocs Graph Theory"
+url="http://kde.org/applications/education/rocs/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime' 'boost-libs')
+makedepends=('cmake' 'automoc4' 'boost')
+source=("http://download.kde.org/stable/${pkgver}/src/rocs-${pkgver}.tar.bz2")
+sha1sums=('f808118fcd5df59a9a808747be940a88b30cf6f3')
+options=('!makeflags')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../rocs-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}