[arch-commits] Commit in kdeedu-rocs/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Sun Jul 24 20:14:44 EDT 2011


    Date: Sunday, July 24, 2011 @ 20:14:43
  Author: andrea
Revision: 132613

move pkgbuilds to trunk; cleanup

Added:
  kdeedu-rocs/trunk/PKGBUILD
    (from rev 132557, kdeedu-rocs/kde-unstable/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: kdeedu-rocs/trunk/PKGBUILD (from rev 132557, kdeedu-rocs/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-07-25 00:14:43 UTC (rev 132613)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-rocs
+pkgver=4.7.0
+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=('f7cb5e17d469e6f88851f1104145e3d02cff27c0')
+
+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
+}



More information about the arch-commits mailing list