blob: dbcd35c1b41a1f1bc3e7398328aeb5120a0c8f40 (
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
|
# Maintainer: Maciek Borzecki <maciek.borzecki@gmail.com>
pkgname=fnotifystat
pkgver=0.02.10
pkgrel=1
pkgdesc="file activity monitoring tool"
arch=('x86_64')
url="https://github.com/ColinIanKing/fnotifystat"
license=('GPL2')
depends=()
optdepends=('bash-completion: bash completion support')
source=("$pkgname-$pkgver.tar.gz::https://github.com/ColinIanKing/fnotifystat/archive/refs/tags/V${pkgver}.tar.gz")
sha256sums=('cef782ca0697dfd98c8db4688caf37749b1a5299681cc1ba6956f051d1312e24')
prepare() {
cd "$pkgname-$pkgver"
for name in "${source[@]}"; do
if [[ "${name%.patch}" == "$name" ]]; then
# not a patch
continue
fi
msg2 "applying $name"
patch -p1 -i "$srcdir/$name"
done
}
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
# sbin is a symlink to bin, so we need to adjust the path
mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
}
|