summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChris Oelmueller2013-06-21 12:06:11 +0200
committerChris Oelmueller2013-10-14 22:38:13 +0200
commit7ee737c2e816716d1b2a9c762026d1f4498db712 (patch)
treefae5aaf814fa7a2d02a36316b2b1312d2a82e18c /PKGBUILD
parent734af25c25279b3e9d6a112b83c2c4021c28e109 (diff)
downloadaur-7ee737c2e816716d1b2a9c762026d1f4498db712.tar.gz
ghmm-svn: 2293-1 (My update)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 10 insertions, 18 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 357b73a5392..27c40729b9e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: dave pretty <david (dot) pretty (at) gmail (dot) com >
pkgname=ghmm-svn
-pkgver=2290
-pkgrel=2
+pkgver=2293
+pkgrel=1
pkgdesc="General Hidden Markov Model library"
arch=('i686' 'x86_64')
url="http://ghmm.org"
@@ -13,30 +13,22 @@ makedepends=('automake' 'autoconf' 'm4' 'swig')
optdepends=('python2')
conflicts=('ghmm')
provides=('ghmm')
+source=("$pkgname::svn+https://ghmm.svn.sourceforge.net/svnroot/ghmm/trunk/ghmm")
+md5sums=('SKIP')
-_svntrunk=https://ghmm.svn.sourceforge.net/svnroot/ghmm/trunk/ghmm
-_svnmod=ghmm
+pkgver() {
+ cd "$srcdir/$pkgname"
+ svnversion | tr -d [A-z]
+}
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"
+ cd "$srcdir/$pkgname"
./autogen.sh
PYTHON=/usr/bin/python2 ./configure --prefix=/usr
make
-
}
package() {
- cd "$srcdir/$_svnmod"
+ cd "$srcdir/$pkgname"
make prefix="$pkgdir/usr" install # does not support DESTDIR
}