diff options
author | Eugene Dvoretsky | 2016-11-03 18:43:32 +0300 |
---|---|---|
committer | Eugene Dvoretsky | 2016-11-03 18:43:32 +0300 |
commit | dad59129658df97305ba3277288ac12270428c85 (patch) | |
tree | 29eea49ffb05809d2fbdd37c374c7d8eb8ea0549 | |
download | aur-dad59129658df97305ba3277288ac12270428c85.tar.gz |
Init
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c48eee5e4262 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-slob-git + pkgdesc = Aard 2 Dictionary: Library and tool to work with Slob (sorted list of blobs) dictionary files + pkgver = 49.d1ed71e + pkgrel = 1 + url = https://github.com/itkach/slob + arch = any + license = GPL3 + makedepends = git + makedepends = python-setuptools + depends = python + depends = python-pyicu + source = python-slob-git::git+https://github.com/itkach/slob.git + sha512sums = SKIP + +pkgname = python-slob-git + 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 +} |