summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a0e0ac7246fddd30ec623c02d613adf0c10f733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Maurycy <10maurycy10@gmail.com>
pkgname=fcron-dev
pkgver=3.3.1
pkgrel=2
pkgdesc='fcron - daemon to execute scheduled task.'
arch=('any')
url='http://fcron.free.fr/'
license=('GPL')
depends=('make' 'gcc')
optdepends=('smtp-forwarder: notify results')
conflicts=("fcron")
provides=('cron')
source=("http://fcron.free.fr/archives/fcron-${pkgver}.src.tar.gz")
sha256sums=("f359daa08a63ddfb7fe2f964bb3f5c52244c25aa36f9225a3cc54d36f4681106")

package() {
	cd "${srcdir}/fcron-${pkgver}"
	./configure  --prefix="/usr" --sysconfdir="/etc" --with-systemdsystemunitdir="/etc/systemd/system" --sbindir="/usr/bin" --with-pam=no
	sed -i 's/systemctl daemon-reload//' Makefile
	make -j$(nproc)
	yes | make DESTDIR="${pkgdir}" install
}