Changed byacc binary to byacc and symlinked to yacc

This commit is contained in:
Ella-0 2021-01-06 12:48:06 +00:00
parent 33bef7e1b4
commit ad63cae230

View file

@ -10,13 +10,18 @@ fetch() {
build() { build() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
./configure --prefix=/ --enable-btyacc ./configure \
--prefix=/ \
--program-prefix=b \
--enable-btyacc
make make
} }
package() { package() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
make install DESTDIR=$pkgdir make install DESTDIR=$pkgdir
cd $pkgdir/bin
ln -s byacc yacc
rm -r $pkgdir/share rm -r $pkgdir/share
} }