aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rgxg/APKBUILD
blob: 9befd78c99c3e5a98eae1d18176ceb8cc5da2078 (plain)
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
# Contributor: Hauke Loeffler <alpine@hauke-loeffler.de>
# Maintainer: Hauke Loeffler <alpine@hauke-loeffler.de>
pkgname=rgxg
pkgver=0.1.1
pkgrel=0
pkgdesc="rgxg (ReGular eXpression Generator) is a C library and a command-line tool to generate (extended) regular expressions."
url="https://rgxg.github.io/"
arch="all"
license="zlib"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/rgxg/rgxg/releases/download/v$pkgver/rgxg-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="228b5a88ebad944abc585e71dd6520ab  rgxg-0.1.1.tar.gz"
sha256sums="6566cd05d116475e98ceb57a5fdb25d8743f7381799aeb8e218433ff4fbb139f  rgxg-0.1.1.tar.gz"
sha512sums="5a0e3849dd7c312efdac064675c94188a18c55002843887216009295ddeb522c01593f9de6c0517df058f9525dac355665bb3dbaf0041472d8a80dd6368b08f6  rgxg-0.1.1.tar.gz"