summaryrefslogtreecommitdiff
path: root/pcr/entr/PKGBUILD
blob: 645be80d67a64cc692b47f88d34b25e06cdc5a00 (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
38
# Maintainer: Veeti Paananen <veeti.paananen@rojekti.fi>

# parabola changes and rationale:
#  - fixed wrong license array

pkgname=entr
pkgver=3.9
pkgrel=1
pkgdesc="Run arbitrary commands when files change"
arch=('i686' 'x86_64' 'armv7h')
url="http://entrproject.org/"
license=('custom:ISC', 'custom:BSD2')
depends=('glibc')
source=("https://bitbucket.org/eradman/entr/get/entr-$pkgver.tar.gz")
sha256sums=('02d78f18ae530e64bfbb9d8e0250962f85946e10850dd065899d03af15f26876')

# bad tar
_srcdir='eradman-entr-332fd96a324a'

build() {
  cd "$srcdir/$_srcdir"

  ./configure
  make
}

check() {
  cd "$srcdir/$_srcdir"

  make -k test
}

package() {
  cd "$srcdir/$_srcdir"

  make PREFIX="$pkgdir/usr" install
  install -D -m 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}