summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Oelmueller2013-06-25 12:12:12 +0200
committerChris Oelmueller2013-10-14 22:38:13 +0200
commite7c340fdf700abe93bef34361e655dbaf4227d44 (patch)
tree46d12e4e30723495c772550838d013134068dc10
parent7ee737c2e816716d1b2a9c762026d1f4498db712 (diff)
downloadaur-ghmm-svn.tar.gz
ghmm-svn: 2293-2 (Adopt, fix conflict with graphviz and a warning)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD16
2 files changed, 15 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a802e48f52..6f080d1c3a3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ghmm-svn
pkgdesc = General Hidden Markov Model library
pkgver = 2293
- pkgrel = 1
+ pkgrel = 2
url = http://ghmm.org
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 27c40729b9e..5c368e73781 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
-# Maintainer: Michael Schubert <mschu.dev at gmail>
+# Maintainer: Chris Oelmueller <chris.oelmueller@gmail.com>
+# Contributor: Michael Schubert <mschu.dev at gmail>
# Contributor: dave pretty <david (dot) pretty (at) gmail (dot) com >
pkgname=ghmm-svn
pkgver=2293
-pkgrel=1
+pkgrel=2
pkgdesc="General Hidden Markov Model library"
arch=('i686' 'x86_64')
url="http://ghmm.org"
@@ -21,6 +22,12 @@ pkgver() {
svnversion | tr -d [A-z]
}
+prepare() {
+ cd "$srcdir/$pkgname"
+ mv configure.in configure.ac
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+}
+
build() {
cd "$srcdir/$pkgname"
./autogen.sh
@@ -31,4 +38,9 @@ build() {
package() {
cd "$srcdir/$pkgname"
make prefix="$pkgdir/usr" install # does not support DESTDIR
+
+ # Name clash with graphviz also installing a `cluster` binary.
+ # ghmm has fewer users than graphviz and is obsolete according to
+ # docs, so I currently prefer renaming the ghmm-provided `cluster`.
+ mv "$pkgdir/usr/bin/cluster" "$pkgdir/usr/bin/ghmm-cluster"
}