diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..173c5ae30e0c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |