summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Oelmueller2013-06-21 11:58:32 +0200
committerChris Oelmueller2013-10-14 22:38:13 +0200
commit734af25c25279b3e9d6a112b83c2c4021c28e109 (patch)
tree90b497e8aeb31f7ef0aeee92a0f066f92a9e2cbb
downloadaur-734af25c25279b3e9d6a112b83c2c4021c28e109.tar.gz
ghmm-svn: 2290-2 (Current PKGBUILD)
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD42
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9de3a0eb11a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = ghmm-svn
+ pkgdesc = General Hidden Markov Model library
+ pkgver = 2290
+ pkgrel = 2
+ url = http://ghmm.org
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = automake
+ makedepends = autoconf
+ makedepends = m4
+ makedepends = swig
+ depends = gsl
+ depends = libxml2
+ optdepends = python2
+ provides = ghmm
+ conflicts = ghmm
+
+pkgname = ghmm-svn
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..357b73a5392
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Michael Schubert <mschu.dev at gmail>
+# Contributor: dave pretty <david (dot) pretty (at) gmail (dot) com >
+
+pkgname=ghmm-svn
+pkgver=2290
+pkgrel=2
+pkgdesc="General Hidden Markov Model library"
+arch=('i686' 'x86_64')
+url="http://ghmm.org"
+license=('LGPL')
+depends=('gsl' 'libxml2')
+makedepends=('automake' 'autoconf' 'm4' 'swig')
+optdepends=('python2')
+conflicts=('ghmm')
+provides=('ghmm')
+
+_svntrunk=https://ghmm.svn.sourceforge.net/svnroot/ghmm/trunk/ghmm
+_svnmod=ghmm
+
+build() {
+ cd "$srcdir"
+
+ if [ -d $_svnmod/.svn ]; then
+ (cd $_svnmod && svn up)
+ else
+ svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+ fi
+
+ msg "SVN checkout done or server timeout"
+ msg "Starting make..."
+
+ cd "$_svnmod"
+ ./autogen.sh
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+ make
+
+}
+
+package() {
+ cd "$srcdir/$_svnmod"
+ make prefix="$pkgdir/usr" install # does not support DESTDIR
+}