Merge pull request #2647 from diogoleal/lsw

New package: lsw-0.3
This commit is contained in:
Juan RP 2015-10-05 08:55:34 +02:00
commit 756797f174
1 changed files with 25 additions and 0 deletions

25
srcpkgs/lsw/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'lsw'
pkgname=lsw
version=0.3
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="libX11-devel libXext-devel"
short_desc="Lists the titles of all running X windows to stdout, similar to ls(1)"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="MIT"
homepage="http://tools.suckless.org/lsw"
distfiles="http://dl.suckless.org/tools/lsw-${version}.tar.gz"
checksum=0b3f3ce16eef060df6e0d90327ee82593dfd75281347908698747cfa3f8d0655
do_build() {
sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
sed -i 's/LDFLAGS =/LDFLAGS +=/g' config.mk
make CC=$CC INCS="-I." LIBS="-lX11 -lXext -lcrypt" ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
vlicense LICENSE
}