summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea6f920eec8e9a0dbea9fc7596ac93a958e0bcb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Maurycy <10maurycy10@gmail.com>
pkgname=fcron-dev
pkgver=3.3.1
pkgrel=1
pkgdesc='fcron - daemon to execute scheduled task.'
arch=('any')
url='http://fcron.free.fr/'
license=('GPL')
depends=('make' 'gcc')
conflicts=("fcron")
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)
	make DESTDIR="${pkgdir}" install
}