scron/PKGBUILD

30 lines
697 B
Bash
Raw Normal View History

2015-06-08 09:31:04 +00:00
# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname=scron
pkgver=0.4
2016-01-17 20:29:38 +00:00
pkgrel=2
2015-06-08 09:31:04 +00:00
pkgdesc="Suckless cron daemon"
arch=( 'i686' 'x86_64' )
url="http://git.2f30.org/scron/"
license=( 'MIT/X' )
makedepends=( 'git' )
provides=( 'cron' )
conflicts=( 'cron' )
backup=( 'etc/crontab' )
options=( 'strip' )
2016-01-17 20:29:38 +00:00
source=( "http://dl.2f30.org/releases/scron-${pkgver}.tar.gz" )
2015-06-08 09:31:04 +00:00
build() {
2016-01-17 20:29:38 +00:00
cd "$srcdir/$pkgname-$pkgver"
make
2015-06-08 09:31:04 +00:00
}
package() {
2016-01-17 20:29:38 +00:00
cd "$srcdir/$pkgname-$pkgver"
2015-06-08 09:31:04 +00:00
2016-01-17 20:29:38 +00:00
install -Dm755 crond "$pkgdir/usr/bin/crond"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
2015-06-08 09:31:04 +00:00
}
2016-01-17 20:29:38 +00:00
sha1sums=('da2d5b79ffb4a41a9dea817b409a582c3de290da')