diff options
author | Henri Chain | 2017-05-27 02:54:42 +0200 |
---|---|---|
committer | Henri Chain | 2017-05-27 02:54:42 +0200 |
commit | ce2cc7e2ab38617d4bbc5c5c2faf181ac9c2ebf8 (patch) | |
tree | 6ca470d361d69251f3a04b41fc438ee1bef4f548 /PKGBUILD | |
download | aur-ce2cc7e2ab38617d4bbc5c5c2faf181ac9c2ebf8.tar.gz |
initial commit
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..63c74980d035 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Henri Chain <henri@henri-chain.com> +_pkgname=protobuf-to-dict +pkgname=python-${_pkgname} +pkgver=0.1.5 +pkgrel=1 +pkgdesc="A teeny Python library for creating Python dicts from protocol buffers and the reverse. Useful as an intermediate step before serialisation (e.g. to JSON)." +url="https://github.com/benhodgson/protobuf-to-dict" +depends=('python' ) +makedepends=('python-distribute' ) +license=('CUSTOM') +arch=('any') +source=("https://github.com/kaporzhu/${_pkgname}/archive/v${pkgver}.zip") +md5sums=('8e18e6fbdc1e4139f3905ff92919e99f') + +build() { + cd ${srcdir}/${_pkgname}-${pkgver} + python2 setup.py build +} + +package() { + cd ${srcdir}/${_pkgname}-${pkgver} + python2 setup.py install --root="$pkgdir" --optimize=1 +} |