void-packages/srcpkgs/blind/template

26 lines
641 B
Bash
Raw Normal View History

# Template file for 'blind'
pkgname=blind
version=1.1
revision=1
depends="ffmpeg"
short_desc="A collection of command line video editing utilities"
maintainer="copyleftie <copyleftie@protonmail.com>"
license="ISC"
homepage="https://tools.suckless.org/blind"
distfiles="https://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
checksum=24f903ccb5e118d75f38d3ae0d85fed909749f978bff47ff6973ee1bfddfcc5a
post_extract() {
sed -i -e '/CFLAGS/{s/=/+=/}' \
-e 's/^LDFLAGS/#LDFLAGS/' config.mk
}
do_build() {
make CC="$CC" LDFLAGS="-lm $LDFLAGS" ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense LICENSE
}