yapo: fixed build with ruby-ncurses 1.4.11

This commit is contained in:
Juergen Daubert 2024-04-28 13:53:23 +02:00
parent 3e40d4feb5
commit 1327381ed4
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/a66r9YkFYZpV0vxaYolyxArWZZFAKeXUWS27KgvSqEkMeGsmZ7utAWYMHvIpk9sBbSGUbHiWXChvnH5uif4jw8=
SHA256 (Pkgfile) = ad9875b34a83684535111b7dee9914a034bb1f39809f8e13bd66698c9d635dfa
RWSE3ohX2g5d/RaWBjq3QvRue1sh5CSwpyIpFT081c7/EWKTs/AuHI8SS+40zIx81c7yE25ApO3AboeZgcjRBaHTNkQ54MIP+w8=
SHA256 (Pkgfile) = d59d547d181e4bc6c9393dcca16c8a55d436ba3e3c3d84f2c1b24acf5215f218
SHA256 (.footprint) = 10f67fc4650f031ab001c2e9944e3fa1b61d0db77d3ea84374db8aa0ee968689
SHA256 (yapo-0.3.2.tar.gz) = 7441a902c910999d8a565d9bc6e67e1628e926fc4c96d58e3d64b0de1b3e4719

View File

@ -5,11 +5,12 @@
name=yapo
version=0.3.2
release=3
release=4
source=(http://jue.li/crux/$name/$name-$version.tar.gz)
build () {
cd $name-$version
sed -ri 's/(Config)($|[.])/YapoConfig\2/' yapo.rb
sed -r 's/(Config)($|[.])/YapoConfig\2/' -i yapo.rb
sed '/^require/s/ncurses/ncursesw/' -i yapo.rb
make MANDIR=/usr/share/man/man8 DESTDIR=$PKG install
}