aboutsummaryrefslogtreecommitdiffstats
path: root/community/dcron/APKBUILD
blob: aa6221eae8caefa1289e98ab3f43da0bbbe8661d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=dcron
pkgver=4.5
pkgrel=6
pkgdesc="dillon's lightweight cron daemon"
url="https://github.com/dubiousjim/dcron"
arch="all"
license="GPL-2.0-or-later"
options="!check" # No test suite
subpackages="$pkgname-doc $pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://github.com/dubiousjim/dcron/archive/v$pkgver.tar.gz
	$pkgname.initd
	pidfile.patch
	ldflags.patch
	pick-up-update.patch
	"

build() {
	make PREFIX=/usr \
		CRONTAB_GROUP=wheel \
		CRONTABS=/etc/crontabs \
		CRONSTAMPS=/var/spool/cron/cronstamps \
		SCRONTABS=/etc/periodic
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm755 "$srcdir"/$pkgname.initd \
		"$pkgdir"/etc/init.d/$pkgname
}

sha512sums="72b72c624f72861a6fc10f030ca2b764c5f3be9a0d8341663c5a0acc2fda7fef70770d200975805f184d2fb668ee4811693989a54b12dc5ef501877f6c4aca0e  dcron-4.5.tar.gz
0513fc6795988c68f2d552c7754383c6db1f51507686c25cf5205a8491679626118a4bab22c8d5e58017f58cc01ab21af8931fdef806a80f3d27cba2f53831cd  dcron.initd
04fdd3059d6b1df8132944e2eefa932e640db8b4a5ac85dd1ca833adf1d0013ad33f40021624e12a4203b08003d6c79f0a5da4e29b057004fb849f388c7178f2  pidfile.patch
8a07ccfae80468a555e8f5ea60f88dd444a3aacb6baa6f747a6a02bcdce78baaa8aaf799ae9d2684a518bfff537dc0cdcf0b53bb6fc0017fa52228f1f0a16e49  ldflags.patch
d199d868984e282a6244db86e65342f0bffb8fa45be812d239933a131a658f67c99ea360767168fc6753da5b279e320090a942697691dfda64c5cd5e178e7b6d  pick-up-update.patch"