summaryrefslogtreecommitdiff
path: root/pcr/qtoctave/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-22 10:52:18 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-22 10:52:18 -0400
commit908d987dd1dcd4899f8f7f0878514c22ca8048b7 (patch)
tree29bf5986774207c3453044e1f370fb98d2431265 /pcr/qtoctave/PKGBUILD
parent308bfb446305a96dffce945b6c4fb82b10d1b91b (diff)
parent8351d69e64a40d68fa32cfeea227b6fcf7afe974 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/qtoctave/PKGBUILD')
-rw-r--r--pcr/qtoctave/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/qtoctave/PKGBUILD b/pcr/qtoctave/PKGBUILD
new file mode 100644
index 000000000..d84dfa3a2
--- /dev/null
+++ b/pcr/qtoctave/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Michael Schubert <mschu.dev at gmail>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=qtoctave
+pkgver=0.10.1
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc="Qt4 frontend for octave"
+url="https://forja.rediris.es/projects/csl-qtoctave/"
+license=('GPL2')
+depends=('qt4' 'octave' 'hicolor-icon-theme')
+makedepends=('cmake')
+source=("http://forja.rediris.es/frs/download.php/2054/${pkgname}-${pkgver}.tar.gz")
+md5sums=('f23afd8eb850b950f51b65f256a83835')
+install="qtoctave.install"
+options=('!libtool' '!emptydirs')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i "s/lrelease/lrelease-qt4/" qtoctave/src/CMakeLists.txt
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_BUILD_TYPE=RELEASE .
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}