New package: swm-1.0

This commit is contained in:
Ypnose 2014-12-26 15:29:13 +00:00
parent b5d3883354
commit 14c4565e31
1 changed files with 22 additions and 0 deletions

22
srcpkgs/swm/template Normal file
View File

@ -0,0 +1,22 @@
# Template file for 'swm'
pkgname=swm
version=1.0
revision=1
makedepends="libxcb-devel"
build_style=gnu-makefile
short_desc="A simple window manager"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="Public Domain"
homepage="https://github.com/dcat/swm"
distfiles="https://github.com/dcat/${pkgname}/archive/v${version}.tar.gz"
checksum=f0b9b3616f7499a0a7ba0c284e7905ba640626cdc93d33b83a6bcfb781fe1ad0
wrksrc="${pkgname}-${version}"
pre_build() {
sed -i 's|^CFLAGS|#CFLAGS|g' Makefile
sed -i 's| -L/usr/X11R6/lib||g' Makefile
}
do_install() {
vbin swm
}