aboutsummaryrefslogtreecommitdiffstats
path: root/community/fstrcmp/APKBUILD
blob: ec02ae34f6d440ad25f99b5ce4c176c701ca2507 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=fstrcmp
pkgver=0.7
pkgrel=0
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"
builddir="$srcdir/$pkgname-$pkgver.D001"

prepare() {
	default_prepare
	update_config_guess
}

build() {
	./configure \
		--prefix=/usr
	make
}

check() {
	make test
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="aaeb0227afd5ada5955cbe6a565254ff88d2028d677d199c00e03b7cb5de1f2c69b18e6e8b032e452350a8eda7081807b01765adbeb8476eaf803d9de6e5509c  fstrcmp-0.7.tar.gz"