#Packager: tim ~{DOT}~beech ~{AT}~ gmail ~{DOT}~ com pkgname=lockout pkgver=0.2.3 pkgrel=1tjb arch=noarch source=("http://thomer.com/lockout/lockout-0.2.3.tgz" "lockout.patch") sourcetemplate=http://people.salixos.org/mimosa/$pkgname/$pkgver/ #docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://thomer.com/lockout/ #dotnew=() #CFLAGS= #CXXFLAGS= options=('noautodotnew') doinst() { crond } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "lockout - the self-imposed computer-aided work enforcer" "lockout will help you get some work done by not allowing you to browse" "the web. If you do this wrong, or if Lockout fucks up, you're " "screwed: you'll end up not knowing your own root password. In that" "case, only God, single-user mode, Knoppix, or tomsrtbt can bring" "salvation. For a howto, see http://archive09.linux.com/feature/116324" ) build() { cd $startdir/src/$pkgname-$pkgver mv ../etc ./ #this tarball doesn't create a top-level dir mv ../usr ./ patch -p1 < ../lockout.patch mkdir -P usr/doc/$pkgname-$pkgver mv usr/share/doc/$pkgname/ usr/doc/$pkgname-$pkgver rm usr/share/doc cp -R $startdir/src/* $startdir/pkg }