summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAseem Athale2024-01-23 21:27:26 +0530
committerAseem Athale2024-01-23 21:30:10 +0530
commitbb39b1d27171deef3090476d24c298c72e536cbb (patch)
tree134c41d3fbb5c8eca8d1a5de9bc6c922b662b85d /PKGBUILD
parentb8b430cfa276d4790fe6193143c69e79c78f7faa (diff)
downloadaur-bb39b1d27171deef3090476d24c298c72e536cbb.tar.gz
crfsuite: Switch to building from fork of upstream repo
CRFSuite has not received a new tag/release since 2011. Since then, all of the commits have been bug-fixes. The CRFSuite original repo at https://github.com/chokkan/crfsuite has been deleted and reinstated a few times recently in 2023, so I forked the upstream repo fork to keep it on the net. So, switch to building from my fork. Signed-off-by: Aseem Athale <athaleaseem@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0d3660ac7944..7fbaf93c6d51 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,27 @@
-# Maintainer: Tavian Barnes <tavianator@tavianator.com>
+# Maintainer: Aseem Athale <athaleaseem@gmail.com>
+# Contributor: Tavian Barnes <tavianator@tavianator.com>
# Contributor: ngukho <ngukho at gmail dot com>
pkgname=crfsuite
pkgver=0.12
-pkgrel=1
+pkgrel=2
pkgdesc="An implementation of Conditional Random Fields (CRFs) for labeling sequential data."
arch=('i686' 'x86_64')
url="http://www.chokkan.org/software/crfsuite/"
license=('custom:BSD')
depends=('liblbfgs')
-source=("https://github.com/downloads/chokkan/crfsuite/$pkgname-$pkgver.tar.gz")
-md5sums=('3fb2033066996921e7979e35ab1a570f')
+source=("https://github.com/mistersmee/crfsuite/archive/refs/tags/$pkgver-1.tar.gz")
+md5sums=('4a8ca0f18c768bdb8e65c2bf039ccc8e')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$pkgver-1"
+ ./autogen.sh
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver-1"
make DESTDIR="$pkgdir/" install