void-packages/srcpkgs/sres/template
2017-07-16 23:08:08 +00:00

22 lines
596 B
Bash

# Template file for 'sres'
pkgname=sres
version=0.2
revision=2
build_style=gnu-makefile
makedepends="xcb-util-devel"
short_desc="Print the current screen resolution on stdout"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Public Domain"
homepage="https://github.com/baskerville/sres/"
distfiles="https://github.com/baskerville/sres/archive/${version}.tar.gz"
checksum=deb2030a32145984a2a0097a7f6245ab18c907ae233e10e519deccdf008e15e9
post_extract() {
sed -i '/CFLAGS/s/ =/+=/' Makefile
}
do_build() {
make CC="$CC" LDFLAGS="$LDFLAGS" ${makejobs}
}
post_install() {
vlicense LICENSE
}