New package: swarp-0.1
This commit is contained in:
parent
5bc047f6c0
commit
3b03670c85
1 changed files with 23 additions and 0 deletions
23
srcpkgs/swarp/template
Normal file
23
srcpkgs/swarp/template
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'swarp'
|
||||
pkgname=swarp
|
||||
version=0.1
|
||||
revision=1
|
||||
short_desc="Simple pointer warping tool for X"
|
||||
maintainer="Inokentiy Babushkin <inokentiy.babushkin@googlemail.com>"
|
||||
license="MIT"
|
||||
makedepends="libX11-devel"
|
||||
homepage="http://tools.suckless.org/x/swarp"
|
||||
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
|
||||
checksum=ef5730fe8ee00879cbec1e91e22a7f0f7817a63375d790d775f5b7427886d45f
|
||||
|
||||
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" ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make PREFIX=/usr DESTDIR=$DESTDIR install
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in a new issue