Skip to content
Snippets Groups Projects
Commit 58233c12 authored by Leo's avatar Leo
Browse files

community/fstrcmp: fix pkg-config version

parent 24dae8fe
No related branches found
No related tags found
No related merge requests found
...@@ -2,19 +2,22 @@ ...@@ -2,19 +2,22 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=fstrcmp pkgname=fstrcmp
pkgver=0.7 pkgver=0.7
pkgrel=0 pkgrel=1
arch="all" arch="all"
url="http://fstrcmp.sourceforge.net/" url="http://fstrcmp.sourceforge.net/"
pkgdesc="Make fuzzy comparisons of strings and byte arrays" pkgdesc="Make fuzzy comparisons of strings and byte arrays"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
makedepends="libtool ghostscript groff" 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" 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" builddir="$srcdir/$pkgname-$pkgver.D001"
prepare() { prepare() {
default_prepare default_prepare
update_config_guess update_config_guess
# Fix version on pkg-config file
sed -i "s|^Version:.*|Version: $pkgver|" "$builddir"/libdir/pkgconfig/fstrcmp.pc.in
} }
build() { build() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment