summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormschubert2015-06-12 12:06:59 +0100
committermschubert2015-06-12 12:06:59 +0100
commit4ebe509426baa092c1c11c5ba329d95ac68bb430 (patch)
tree7137bff4172acd3fdacfb955641ec47d85c42140
downloadaur-4ebe509426baa092c1c11c5ba329d95ac68bb430.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD27
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c340b2f1447
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = opulus
+ pkgdesc = A Petri net editor/simulator
+ pkgver = 0.9
+ pkgrel = 1
+ url = http://opulus.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = cmake
+ depends = qt4
+ depends = graphviz
+ source = http://downloads.sourceforge.net/opulus/opulus-0.9.tar.bz2
+ md5sums = 655b754ac62b4dac8f4861ae9cf0af14
+
+pkgname = opulus
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8967a4e94bf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Michael Schubert <mschu.dev at gmail>
+# Contributor: Hugo Parente Lima <hugo.pl@gmail.com>
+
+pkgname=opulus
+pkgver=0.9
+pkgrel=1
+pkgdesc="A Petri net editor/simulator"
+arch=("i686" "x86_64")
+url="http://opulus.sourceforge.net/"
+depends=("qt4" "graphviz")
+makedepends=("cmake")
+license=("GPL")
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=("655b754ac62b4dac8f4861ae9cf0af14")
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=$pkgdir/usr .
+ sed -i "s/new MiniView()/new MiniView(MainWindow)/" gui/ui_mainwindow.h
+# cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=$pkgdir/usr .
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make install
+}