diff options
author | Colin Arnott | 2017-04-23 20:16:20 +0000 |
---|---|---|
committer | Colin Arnott | 2017-04-23 20:16:20 +0000 |
commit | 69c68a2f97847db9fe4af9e1c3700866e602b157 (patch) | |
tree | 593d3abbc52665decba6f023a65e09426c5c47e4 /PKGBUILD | |
download | aur-69c68a2f97847db9fe4af9e1c3700866e602b157.tar.gz |
init v0.1.11
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7a3dd7a443a9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Colin Arnott <colin@urandom.co.uk> +pkgname=python2-crc16 +pkgver=0.1.1 +pkgrel=1 +pkgdesc="Python Library for calculating CRC16" +arch=('any') +makedepends=('python2-setuptools') +url="https://code.google.com/archive/p/pycrc16" +license=('LGPL') +options=(!emptydirs) +source=(https://pypi.python.org/packages/source/c/${pkgname#python2-}/${pkgname#python2-}-$pkgver.tar.gz) +sha512sums=('45d5e8e13b1ac5f885b40516872a9233514f09aa8990915904b214eec2ef6084016f8f0c15bb411aaa1ffc32e8207020916f723e48eee726a7e6989901c9e65d') + +build() { + cd "$srcdir/${pkgname#python2-}-$pkgver" + + msg 'Building...' + python2 setup.py build +} + +package() { + cd "$srcdir/${pkgname#python2-}-$pkgver" + + msg 'Installing...' + python2 setup.py install --root="$pkgdir" --optimize=1 +} |