summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 173c5ae30e0ccdfa32a00e05e6d156ce716ccfc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Eugene Dvoretsky <radioxoma at gmail>

pkgname=python-slob-git
pkgver=49.d1ed71e
pkgrel=1
pkgdesc="Aard 2 Dictionary: Library and tool to work with Slob (sorted list of blobs) dictionary files"
url='https://github.com/itkach/slob'
arch=('any')
license=('GPL3')
depends=('python' 'python-pyicu')
makedepends=('git' 'python-setuptools')
source=("$pkgname::git+https://github.com/itkach/slob.git")
sha512sums=('SKIP')

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

package() {
  cd "${srcdir}/${pkgname}"
  python setup.py install --root="$pkgdir/" --optimize=1
}