aboutsummaryrefslogblamecommitdiffstats
path: root/testing/incron/APKBUILD
blob: 87abad27f861709010a8163b72ea1ac59da19655 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                      
                            






















                                                                             
                                                                                



                                                                

                                                       

                                                                                                   

                                                                                       

                                                                                                                                                                   

                                                                                                                                                       
# 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
	incron-aarch64.patch
	"

_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
	install -Dm644 incron.conf.example "$pkgdir"/etc/incron.conf || return 1
}

md5sums="038190dc64568883a206f3d58269b850  incron-0.5.10.tar.bz2
2f732aef8ae8b49a0427e1d0d3c5281d  fix-headers.patch
07089c4a524ba7d89f75881693ba7647  incrond.initd
02955914e0c8aed4ca3950b109c57a61  incron-aarch64.patch"
sha256sums="852695df1d0c8a1ad182d41c8f8ce1417ac34e7fb6cd01e9c9c6d493c42e759f  incron-0.5.10.tar.bz2
aa69fa1ebfd48e6fba9921f136ac77b68f9b34e6f60b2296c35bdd5b60e5d7ec  fix-headers.patch
c7a3c53543db190d2ce63667878c9968f9af7b9eabecbfc1cad7d9b8d937c8e4  incrond.initd
690911bf841f43b5cb05e11d14ee7c2ccf310b9cc4079c02afa32e784b1c3dea  incron-aarch64.patch"
sha512sums="5d9ae4d4e3929ba16ad06652f21ef319041e13f9b15000d08053a973bef706b5d0137b9235c29049aed1673a2f41379b2b677eeedefacaf68308ad54405e4bfd  incron-0.5.10.tar.bz2
ab25665b6b736b81bfa84b1092608e0f2c15484a2e920b1859827bd870d04a894760020be6ab27226ff8cb75bab1ef8dc34d006a4531fc658e32137374412c9c  fix-headers.patch
458d5a4e9ab062b3e9a7dddf46c25bae431ec6c93862304f444e94cfb41b28e9ae21d5e621e94ce9cf55b26878d8fe978c19eeaa473779772a24adf709fd4cd8  incrond.initd
46af5174748bec8ddad84f43b00a4b10f3bed3af2884fa4106797e96e2ea1be399642c049760035635275354a4a66d1ce33c58e6856bda3e98054c8627277287  incron-aarch64.patch"