blob: c7d46d8844c5ac35ef2c96811f21370b08c6cc46 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=incron
pkgver=0.5.10
pkgrel=0
pkgdesc="Inotify cron system"
url="http://inotify.aiken.cz"
arch="all"
license="GPLv2"
depends=""
depends_dev=""
makedepends="$depends_dev argp-standalone"
install=""
subpackages="$pkgname-doc"
options="suid"
source="http://inotify.aiken.cz/download/incron/incron-$pkgver.tar.bz2
fix-headers.patch
incrond.initd
"
_builddir="$srcdir"/incron-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make PREFIX=/usr || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
install -Dm755 "$srcdir"/incrond.initd "$pkgdir"/etc/init.d/incrond \
|| return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="038190dc64568883a206f3d58269b850 incron-0.5.10.tar.bz2
2f732aef8ae8b49a0427e1d0d3c5281d fix-headers.patch
78800a76ecb841a861719863446c8a25 incrond.initd"
sha256sums="852695df1d0c8a1ad182d41c8f8ce1417ac34e7fb6cd01e9c9c6d493c42e759f incron-0.5.10.tar.bz2
aa69fa1ebfd48e6fba9921f136ac77b68f9b34e6f60b2296c35bdd5b60e5d7ec fix-headers.patch
3a1cbd481fe461f738f78652b88a59eb7680ca3bb2b92d214dbc42cb0b0d3997 incrond.initd"
sha512sums="5d9ae4d4e3929ba16ad06652f21ef319041e13f9b15000d08053a973bef706b5d0137b9235c29049aed1673a2f41379b2b677eeedefacaf68308ad54405e4bfd incron-0.5.10.tar.bz2
ab25665b6b736b81bfa84b1092608e0f2c15484a2e920b1859827bd870d04a894760020be6ab27226ff8cb75bab1ef8dc34d006a4531fc658e32137374412c9c fix-headers.patch
ce029a2c7bb7c9691430e315e7a762ecf59fdce3924edd5bc1b50eabccadcdf5637fbf00230112eec9bff4e21ef8e20d684e41775a9c7c54a17fb101d342ceff incrond.initd"
|