mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
New package: lsw-0.3
This commit is contained in:
parent
f455f1c505
commit
7016c56fa7
1 changed files with 25 additions and 0 deletions
25
srcpkgs/lsw/template
Normal file
25
srcpkgs/lsw/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue