mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
sres: pass CFLAGS and LDFLAGS.
This commit is contained in:
parent
0f896c8835
commit
7189903bf7
1 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sres'
|
# Template file for 'sres'
|
||||||
pkgname=sres
|
pkgname=sres
|
||||||
version=0.2
|
version=0.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="xcb-util-devel"
|
makedepends="xcb-util-devel"
|
||||||
short_desc="Print the current screen resolution on stdout"
|
short_desc="Print the current screen resolution on stdout"
|
||||||
|
@ -11,10 +11,12 @@ homepage="https://github.com/baskerville/sres/"
|
||||||
distfiles="https://github.com/baskerville/sres/archive/${version}.tar.gz"
|
distfiles="https://github.com/baskerville/sres/archive/${version}.tar.gz"
|
||||||
checksum=deb2030a32145984a2a0097a7f6245ab18c907ae233e10e519deccdf008e15e9
|
checksum=deb2030a32145984a2a0097a7f6245ab18c907ae233e10e519deccdf008e15e9
|
||||||
|
|
||||||
do_build(){
|
post_extract() {
|
||||||
make CC=$CC ${makejobs}
|
sed -i '/CFLAGS/s/ =/+=/' Makefile
|
||||||
|
}
|
||||||
|
do_build(){
|
||||||
|
make CC="$CC" LDFLAGS="$LDFLAGS" ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install(){
|
post_install(){
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue