summaryrefslogtreecommitdiffstats
path: root/byacc/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'byacc/MAKEPKG')
-rw-r--r--byacc/MAKEPKG28
1 files changed, 28 insertions, 0 deletions
diff --git a/byacc/MAKEPKG b/byacc/MAKEPKG
new file mode 100644
index 0000000..3b4fafb
--- /dev/null
+++ b/byacc/MAKEPKG
@@ -0,0 +1,28 @@
1#!/bin/mkpkg
2# description: Berkeley yacc parser generator
3# url: https://invisible-island.net/byacc/
4
5name=byacc
6version=20260126
7release=1
8source=(
9 https://invisible-island.net/archives/byacc/byacc-$version.tgz
10)
11sha256sums=(
12 "b618c5fb44c2f5f048843db90f7d1b24f78f47b07913c8c7ba8c942d3eb24b00"
13)
14
15build() {
16 cd $name-$version
17
18 ./configure \
19 --prefix=/usr \
20 --program-transform-name='s,^,b,'
21
22 make
23 make DESTDIR=$PKG install
24
25 ln -s byacc $PKG/usr/bin/yacc
26}
27
28# vim: filetype=sh