summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 56fa0a9904a5c9bfe67e3a50d926dd173f236062 (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
# Maintainer: Frederik Schwan <freswa at archlinux dot org>

pkgname=remhind-git
pkgver=21.25f6e83
pkgrel=1
pkgdesc='A notification daemon of events stored in directories'
arch=('any')
url='https://github.com/nicoe/remhind'
license=('GPL3')
depends=('python' 'python-aionotify' 'python-icalendar' 'python-dateutil' 'python-pyinotify'
          'python-gobject' 'python-toml' 'python-tzlocal' 'python-pyxdg')
makedepends=('python-setuptools' 'python-pytest')
checkdepends=('python-freezegun')
source=("git+https://github.com/nicoe/remhind")
b2sums=('SKIP')

pkgver() {
  cd remhind
  echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
  cd remhind
  python setup.py build
}

check() {
  cd remhind
  python -m pytest
}

package() {
  cd remhind
  NO_THIRD_PARTY=true python setup.py install --skip-build --root="${pkgdir}" --optimize=1
}