summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c27b1703ea8f0c7f5613d137b1db4c6cce6224a (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
# Maintainer: Shalygin Konstantin <k0ste@k0ste.ru>
# Contributor: Shalygin Konstantin <k0ste@k0ste.ru>

pkgname='inotify-info'
pkgver='0.0.4'
pkgrel='1'
pkgdesc='Linux inotify info reporting app'
arch=('x86_64' 'aarch64')
_uri="github.com/mikesart"
url="https://${_uri}/${pkgname}"
license=('MIT')
depends=('glibc' 'gcc-libs')
conflicts=("${pkgname}-git")
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/${pkgname}/tar.gz/refs/tags/v${pkgver}")
sha256sums=('8a44de6a1750863520954770cfc416ae723ffeb3cc5044ec419fa5392a5d22d1')

build() {
  cd "${pkgname}-${pkgver}"
  INOTIFYINFO_VERSION="${pkgver}" make
}

package() {
  cd "${pkgname}-${pkgver}"
  install -Dm0755 "_release/${pkgname}" -t "${pkgdir}/usr/bin"
  install -Dm0644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}