slock: new package added 1.1
This commit is contained in:
parent
6d1995f3b9
commit
66615bfe91
1 changed files with 29 additions and 0 deletions
29
srcpkgs/slock_/template
Normal file
29
srcpkgs/slock_/template
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'slock'
|
||||
pkgname=slock
|
||||
version=1.1
|
||||
revision=1
|
||||
makedepends="libX11-devel libXext-devel"
|
||||
short_desc="Simple X display locker"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
license="MIT"
|
||||
homepage="http://tools.suckless.org/slock"
|
||||
distfiles="http://dl.suckless.org/tools/$pkgname-$version.tar.gz"
|
||||
checksum=e04ae5070c646c78251780d386e14d16fd100367e877dd5cf616dc7aedd0e0e4
|
||||
|
||||
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
|
||||
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
||||
}
|
||||
|
||||
slock_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue