aboutsummaryrefslogtreecommitdiffstats
path: root/testing/peg/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/peg/APKBUILD')
-rw-r--r--testing/peg/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/peg/APKBUILD b/testing/peg/APKBUILD
new file mode 100644
index 00000000000..4b8e61098ed
--- /dev/null
+++ b/testing/peg/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=peg
+pkgver=0.1.18
+pkgrel=1
+pkgdesc="Recursive-descent parser generators for C"
+url="https://www.piumarta.com/software/peg/"
+arch="all"
+license="MIT"
+subpackages="$pkgname-doc"
+source="https://www.piumarta.com/software/peg/peg-$pkgver.tar.gz"
+
+build() {
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make install -j1 ROOT="$pkgdir" PREFIX=/usr MANDIR="$pkgdir/usr/share/man/man1"
+}
+
+sha512sums="
+ca2fb9088bf87955adf6f883370ddb7d5f6f3cae3605a871094317205a124cce4f7b9f83cf4662cb470e2c5a6977608b456eb1fad98022d7e40fc384d1fec0f8 peg-0.1.18.tar.gz
+"