new package: spectrwm
This commit is contained in:
parent
4c83c9756f
commit
54961851c4
|
@ -2161,3 +2161,4 @@ libonig.so.2 oniguruma-5.9.6_1
|
|||
liblo10k1.so.0 alsa-tools-1.0.29_1
|
||||
libgflags.so.2 gflags-2.1.2_1
|
||||
libgflags_nothreads.so.2 gflags-2.1.2_1
|
||||
libswmhack.so.0.0 spectrwm-2.7.2_1
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
pkgname=spectrwm
|
||||
version=2.7.2
|
||||
revision=1
|
||||
_version=SPECTRWM_2_7_2
|
||||
wrksrc="spectrwm-${_version}"
|
||||
short_desc="A small dynamic tiling window manager for X11"
|
||||
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"
|
||||
license="ISC"
|
||||
homepage="http://spectrwm.org"
|
||||
distfiles="https://github.com/conformal/spectrwm/archive/${_version}.tar.gz"
|
||||
checksum=23a5b306c5cdfda05eba365b652eca34e87f0b4317c7ff8059813adaa1c55afb
|
||||
|
||||
do_configure() {
|
||||
sed -i "s,-I/usr/include/freetype2,-I${XBPS_CROSS_BASE}/usr/include/freetype2,g" linux/Makefile
|
||||
}
|
||||
|
||||
do_build() {
|
||||
cd linux
|
||||
make COLOR=0 CC=$CC LD=$LD CFLAGS="$CFLAGS -std=c99"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd linux
|
||||
make PREFIX=/usr DESTDIR=${DESTDIR} COLOR=0 install
|
||||
cd ${wrksrc}
|
||||
sed -n '/\*\//q; /^\/\*/d; s/^ \* \?//p' spectrwm.c > LICENSE
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in New Issue