spectrwm: minor cosmetic tweaks.
This commit is contained in:
parent
f2646e7272
commit
4843dad512
|
@ -1,25 +1,26 @@
|
||||||
|
# Template file for 'spectrwm'
|
||||||
pkgname=spectrwm
|
pkgname=spectrwm
|
||||||
version=2.7.2
|
version=2.7.2
|
||||||
revision=1
|
revision=1
|
||||||
_version=SPECTRWM_2_7_2
|
_distname=SPECTRWM_2_7_2
|
||||||
wrksrc="spectrwm-${_version}"
|
wrksrc="spectrwm-${_distname}"
|
||||||
short_desc="A small dynamic tiling window manager for X11"
|
short_desc="A small dynamic tiling window manager for X11"
|
||||||
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
||||||
makedepends="libXt-devel libxcb-devel xcb-util-devel xcb-util-wm-devel xcb-util-keysyms-devel libXrandr-devel libXcursor-devel libXft-devel freetype-devel"
|
makedepends="libXt-devel libxcb-devel xcb-util-devel
|
||||||
|
xcb-util-wm-devel xcb-util-keysyms-devel
|
||||||
|
libXrandr-devel libXcursor-devel libXft-devel freetype-devel"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="http://spectrwm.org"
|
homepage="http://spectrwm.org"
|
||||||
distfiles="https://github.com/conformal/spectrwm/archive/${_version}.tar.gz"
|
distfiles="https://github.com/conformal/spectrwm/archive/${_distname}.tar.gz"
|
||||||
checksum=23a5b306c5cdfda05eba365b652eca34e87f0b4317c7ff8059813adaa1c55afb
|
checksum=23a5b306c5cdfda05eba365b652eca34e87f0b4317c7ff8059813adaa1c55afb
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
sed -i "s,-I/usr/include/freetype2,-I${XBPS_CROSS_BASE}/usr/include/freetype2,g" linux/Makefile
|
sed -i "s,-I/usr/include/freetype2,-I${XBPS_CROSS_BASE}/usr/include/freetype2,g" linux/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd linux
|
cd linux
|
||||||
make COLOR=0 CC=$CC LD=$LD CFLAGS="$CFLAGS -std=c99"
|
make COLOR=0 CC=$CC LD=$LD CFLAGS="$CFLAGS -std=c99"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
cd linux
|
cd linux
|
||||||
make PREFIX=/usr DESTDIR=${DESTDIR} COLOR=0 install
|
make PREFIX=/usr DESTDIR=${DESTDIR} COLOR=0 install
|
||||||
|
|
Loading…
Reference in New Issue