fbv: fix build_style

- Switch to configure
- Respect configure_args
- Remove redundant --prefix=/usr
- Remove wrong --bindir=/usr/sbin
This commit is contained in:
maxice8 2018-09-24 21:26:30 -03:00 committed by maxice8
parent 9c5274736c
commit 673a3d7747

View File

@ -2,7 +2,7 @@
pkgname=fbv
version=1.0b
revision=1
build_style=gnu-configure
build_style=configure
makedepends="libpng-devel libjpeg-turbo-devel giflib-devel"
short_desc="Framebuffer image viewer"
maintainer="Duncaen <duncaen@voidlinux.eu>"
@ -17,7 +17,7 @@ do_configure() {
sed -i "s/^CC.*/CC=${XBPS_CROSS_TRIPLET}-gcc/" Makefile
sed -i "s/^cc/${XBPS_CROSS_TRIPLET}-gcc/" configure
fi
./configure --prefix=/usr --bindir=/usr/sbin --libs="-lgif"
./configure ${configure_args} --libs="-lgif"
}
do_install() {