diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-11-22 16:24:26 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-22 16:24:26 +0100 |
commit | 58233c1293524fe21c314c99ef17a1f5ced444b6 (patch) | |
tree | 47d0d2593d954e5782ea032d62b1475bcdb73e8c /community/fstrcmp | |
parent | 24dae8fefb320390fa4a66c213342bd7bb996e99 (diff) | |
download | aports-58233c1293524fe21c314c99ef17a1f5ced444b6.tar.bz2 aports-58233c1293524fe21c314c99ef17a1f5ced444b6.tar.xz |
community/fstrcmp: fix pkg-config version
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() { |