diff options
Diffstat (limited to 'community/fstrcmp')
-rw-r--r-- | community/fstrcmp/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/community/fstrcmp/APKBUILD b/community/fstrcmp/APKBUILD index ec02ae34f6..ed88f45d5a 100644 --- a/community/fstrcmp/APKBUILD +++ b/community/fstrcmp/APKBUILD @@ -2,19 +2,22 @@ # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=fstrcmp pkgver=0.7 -pkgrel=0 +pkgrel=1 arch="all" url="http://fstrcmp.sourceforge.net/" pkgdesc="Make fuzzy comparisons of strings and byte arrays" license="GPL-3.0-or-later" makedepends="libtool ghostscript groff" -source="$pkgname-$pkgver.tar.gz::http://fstrcmp.sourceforge.net/$pkgname-$pkgver.D001.tar.gz" subpackages="$pkgname-static $pkgname-dev $pkgname-doc" +source="$pkgname-$pkgver.tar.gz::http://fstrcmp.sourceforge.net/fstrcmp-$pkgver.D001.tar.gz" builddir="$srcdir/$pkgname-$pkgver.D001" prepare() { default_prepare update_config_guess + + # Fix version on pkg-config file + sed -i "s|^Version:.*|Version: $pkgver|" "$builddir"/libdir/pkgconfig/fstrcmp.pc.in } build() { |