4 pkgdesc="A simple screen locker for X"
6 url="https://github.com/benruijl/sflock"
11 _gitroot="git://github.com/benruijl/sflock.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ]; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting install..."
30 make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
32 make PREFIX=/usr DESTDIR="$pkgdir" install
33 install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"