Version bump to 1.6.5

This commit is contained in:
Jean Lucas 2017-12-09 08:34:26 -05:00
parent a1649b822b
commit da9f7e1ba9
2 changed files with 27 additions and 26 deletions

View File

@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
# Fri Jun 16 10:03:52 UTC 2017
# Sat Dec 9 13:34:17 UTC 2017
pkgbase = openfst
pkgdesc = Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)
pkgver = 1.6.2
pkgver = 1.6.5
pkgrel = 1
url = http://www.openfst.org
arch = i686
@ -12,8 +12,8 @@ pkgbase = openfst
depends = glibc
depends = python2
options = !libtool
source = http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.6.2.tar.gz
sha256sums = 3f72e35097fdf1c1c41e15165c16696c223295b40b7b145b5466306db7972578
source = http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.6.5.tar.gz
sha512sums = 68c1a96f3ecad7480b80dc124c5caedc2729ee1b94dd4a21373cce385ba616b028cd6627bcc01f6dffd6b050693cc52d79db166706f3571494c4d3a6ff40cd60
pkgname = openfst

View File

@ -4,19 +4,19 @@
# Contributor: Christoph Drexler <chrdr at gmx dot at>
pkgname=openfst
pkgver=1.6.2
pkgver=1.6.5
pkgrel=1
pkgdesc="Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)"
arch=('i686' 'x86_64')
arch=(i686 x86_64)
url="http://www.openfst.org"
license=('Apache')
depends=('gcc-libs' 'glibc' 'python2')
license=(Apache)
depends=(gcc-libs glibc python2)
options=(!libtool)
source=("http://www.openfst.org/twiki/pub/FST/FstDownload/${pkgname}-${pkgver}.tar.gz")
sha256sums=('3f72e35097fdf1c1c41e15165c16696c223295b40b7b145b5466306db7972578')
source=(http://www.openfst.org/twiki/pub/FST/FstDownload/$pkgname-$pkgver.tar.gz)
sha512sums=(68c1a96f3ecad7480b80dc124c5caedc2729ee1b94dd4a21373cce385ba616b028cd6627bcc01f6dffd6b050693cc52d79db166706f3571494c4d3a6ff40cd60)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd $srcdir/$pkgname-$pkgver
# Options according to http://openfst.cs.nyu.edu/twiki/bin/view/FST/ReadMe
OPTIONS="--prefix=/usr --disable-dependency-tracking"
@ -32,13 +32,14 @@ build() {
OPTIONS+="--enable-pdt" # Enable PDT extensions; Default: no
OPTIONS+="--enable-python PYTHON=python2" # Enable Python extensions; Default: no
LIBS="-ldl" ./configure $OPTIONS
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
install -d "${pkgdir}/etc/ld.so.conf.d/"
echo '/usr/lib/fst' > "${pkgdir}/etc/ld.so.conf.d/openfst.conf"
install -d $pkgdir/etc/ld.so.conf.d/
echo /usr/lib/fst > $pkgdir/etc/ld.so.conf.d/openfst.conf
}