blob: c9c1d1cf2da2f8046198b60c88eebbb804f22fc0 (
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
|
# Maintainer: liara <liara at archlinux.info>
pkgname=fsmon-git
pkgver=1.3.r9.g48061de
pkgrel=1
pkgdesc="FileSystem Monitor utility."
arch=('i686' 'x86_64')
url="https://github.com/nowsecure/fsmon"
license=('MIT')
depends=('')
makedepends=('make' 'git')
source=("${pkgname}::git+https://github.com/nowsecure/fsmon.git")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
make
}
package() {
cd "$srcdir/$pkgname"
mkdir -p "$pkgdir/usr/bin"
make DESTDIR="$pkgdir" install
install -Dm664 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
# vim:set ts=2 sw=2 et:
|