blob: 71a7467fb95c9efb272113d85e4125b23e88df77 (
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
|
# Contributor: Jake Buchholz <tomalok@gmail.com>
# Maintainer: Jake Buchholz <tomalok@gmail.com>
pkgname=cachefilesd-inotify
pkgver=0.11.0
pkgrel=0
pkgdesc="Userspace daemon acting as a backend for FS-Cache (uses INOTIFY instead of DNOTIFY)"
url="https://gitlab.com/tomalok/cachefilesd-inotify"
arch="all"
license="GPL-2.0-or-later"
depends="attr"
makedepends="rpm file"
provides="cachefilesd=$pkgver-r$pkgrel"
replaces="cachefilesd"
options="!check"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://gitlab.com/tomalok/cachefilesd-inotify/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2
cachefilesd.initd"
build() {
sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.c
sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.service
sed -i "s/^secctx/#secctx/g" cachefilesd.conf
make CFLAGS="$CFLAGS"
}
package() {
make DESTDIR="$pkgdir" SBINDIR=/usr/bin install
mkdir -p "$pkgdir"/var/cache/fscache
install -D -m 755 "$srcdir/cachefilesd.initd" "$pkgdir/etc/init.d/cachefilesd"
}
sha512sums="f283d0d2357da648515225a5162b53a4603fc466d291a68c4833a39ce1aed2784f9734a23ebcb47d1efbea0d3659733f9c1d8a0137e6e98281e6f4085328d049 cachefilesd-inotify-0.11.0.tar.bz2
854b66470ace24caf24e979de3c1c12a426972bc745823b3a0f47ac80811ac5da4fa6a249e65386acdec2e7561178bb1d2c4b301a2178458f10496bb8eac5b2f cachefilesd.initd"
|