farbfeld: update to 4.
This commit is contained in:
parent
5342159164
commit
4e222d1609
1 changed files with 5 additions and 10 deletions
|
@ -1,24 +1,19 @@
|
|||
# Template file for 'farbfeld'
|
||||
pkgname=farbfeld
|
||||
version=3
|
||||
version=4
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
makedepends="libpng-devel libjpeg-turbo-devel"
|
||||
short_desc="Suckless image format and conversion tools"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="ISC"
|
||||
homepage="http://tools.suckless.org/farbfeld/"
|
||||
distfiles="http://dl.suckless.org/farbfeld/farbfeld-${version}.tar.gz"
|
||||
checksum=5b953b86a72d3feaedf62698532c8888e5f6e2f6363193a4cc8cee0e38c378ad
|
||||
checksum="c7df5921edd121ca5d5b1cf6fb01e430aff9b31242262e4f690d3af72ccbe72a"
|
||||
|
||||
do_configure() {
|
||||
sed -i "/CFLAGS/s|\-Os\$|$CFLAGS|" config.mk
|
||||
sed -i "/LDFLAGS/s|\-s\$|$LDFLAGS|" config.mk
|
||||
sed -i 's|$(LDFLAGS) $($\*\-LDFLAGS)|$($*-LDFLAGS) $(LDFLAGS)|' Makefile
|
||||
sed -i "/^CC/d;/^CFLAGS/d;/^LDFLAGS/d" config.mk
|
||||
}
|
||||
do_build() {
|
||||
make CC=$CC
|
||||
}
|
||||
do_install() {
|
||||
make PREFIX=/usr MANPREFIX=/usr/share/man DESTDIR=$DESTDIR install
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue