diff --git a/srcpkgs/blind/template b/srcpkgs/blind/template new file mode 100644 index 00000000000..b1452067e03 --- /dev/null +++ b/srcpkgs/blind/template @@ -0,0 +1,25 @@ +# 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 " +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 +}