blob: d05b998a68aba281980cd8d349c518e85eb62a74 (
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
|
# Maintainer: Rod Kay <charlie5 on #ada at irc.libera.chat>
pkgname=inotify-ada
epoch=1
pkgver=2.0.1
pkgrel=1
pkgdesc='An Ada 2012 library to monitor filesystem events using the Linux inotify API.'
url=https://github.com/onox/inotify-ada
arch=(i686 x86_64)
license=(Apache License 2.0)
depends=(gcc-ada alire)
makedepends=(gprbuild)
source=(https://github.com/onox/inotify-ada/archive/refs/tags/v$pkgver.tar.gz)
sha256sums=(49362b9ea81718a3c5385d0b6eccdd55fcce26f897a0eb887fd657c84ad3bf79)
build()
{
cd $srcdir/$pkgname-2.0.1
alr build --validation
gprbuild inotify.gpr
gprbuild monitor.gpr
}
package()
{
cd $srcdir/$pkgname-2.0.1
gprinstall -P inotify.gpr -p --prefix=$pkgdir/usr
gprinstall -P monitor.gpr -p --prefix=$pkgdir/usr
}
|