# Maintainer: Your Name pkgname=kurcoder-git pkgver=0.0.1.r33.g37067db pkgrel=1 pkgdesc="Toolkit for encoding, decoding, checksums, hex conversions & IP calculations" arch=('any') url="https://github.com/0xkurome/kurcoder" license=('MIT') depends=('python') makedepends=('python-setuptools') conflicts=(kurcoder) source=("git+$url") md5sums=('SKIP') pkgver() { cd "kurcoder" local ver="$(svnversion)" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build(){ cd "kurcoder" python setup.py build } package() { cd "kurcoder" make DESTDIR="$pkgdir/" install install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/kurcoder-git/LICENSE" }