summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD28
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ef5b2cacdc1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = hfst
+ pkgdesc = Helsinki Finite-State Technology (library and application suite)
+ pkgver = 3.15.4
+ pkgrel = 1
+ url = https://github.com/hfst/hfst
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = pkgconf>=0.14
+ makedepends = gcc
+ makedepends = make
+ makedepends = bison>=2.4
+ makedepends = flex
+ makedepends = autoconf>=2.62
+ makedepends = automake>=1.11.1
+ makedepends = libtool>=2.2
+ makedepends = gettext>=0.17
+ depends = gcc-libs>=2.16
+ source = hfst-3.15.4.tar.gz::https://github.com/hfst/hfst/archive/refs/tags/v3.15.4.tar.gz
+ sha256sums = 26e1aea3fd5aaaddd892a41db37418b324e7260a202a1ca33507e7662431fd9a
+
+pkgname = hfst
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a1bcd74c655
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+
+pkgname=hfst
+pkgver=3.15.4
+pkgrel=1
+pkgdesc='Helsinki Finite-State Technology (library and application suite)'
+arch=('i686' 'x86_64')
+url='https://github.com/hfst/hfst'
+license=('GPL3')
+makedepends=('pkgconf>=0.14' 'gcc' 'make' 'bison>=2.4' 'flex' 'autoconf>=2.62' 'automake>=1.11.1' 'libtool>=2.2' 'gettext>=0.17')
+depends=('gcc-libs>=2.16')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hfst/hfst/archive/refs/tags/v${pkgver}.tar.gz")
+sha256sums=('26e1aea3fd5aaaddd892a41db37418b324e7260a202a1ca33507e7662431fd9a')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./autogen.sh
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}