initial import
This commit is contained in:
24
python-pychm/PKGBUILD
Normal file
24
python-pychm/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=python-pychm
|
||||
pkgver=0.8.6
|
||||
pkgrel=2
|
||||
pkgdesc='Python bindings for chmlib'
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/dottedmag/pychm"
|
||||
license=('GPL-2')
|
||||
depends=('chmlib' 'python')
|
||||
makedepends=('python-setuptools')
|
||||
source=($pkgname-$pkgver.tar.gz::https://github.com/dottedmag/pychm/archive/v$pkgver.tar.gz)
|
||||
sha512sums=('cc1b254b6c58aba038171ad9db1eea3212094d7fb9386b22ada67381d702b388e6a1dde0317b5724587ee135d2695c546a7c2d65af7091dafeb394647597b0ae')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/pychm-$pkgver"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/pychm-$pkgver"
|
||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||
install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
|
||||
}
|
||||
Reference in New Issue
Block a user