Date: Friday, October 25, 2019 @ 15:41:17 Author: foutrelis Revision: 519155
archrelease: copy trunk to community-staging-any Added: python-ghp-import/repos/community-staging-any/ python-ghp-import/repos/community-staging-any/PKGBUILD (from rev 519154, python-ghp-import/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: python-ghp-import/repos/community-staging-any/PKGBUILD (from rev 519154, python-ghp-import/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-25 15:41:17 UTC (rev 519155) @@ -0,0 +1,29 @@ +# Maintainer: Jiachen Yang <farsee...@gmail.com> +# AUR Maintainer: valère monseur <valere dot monseur at ymail dot com> + +pkgname=python-ghp-import +_pkgname=ghp-import +pkgver=0.5.5 +pkgrel=3 +pkgdesc='Copy your docs directly to the gh-pages branch' +arch=('any') +url="https://pypi.python.org/pypi/ghp-import" +license=(custom:Tumbolia) +depends=('python') +makedepends=('python-setuptools' 'git') +replaces=('ghp-import') +conflicts=('ghp-import') +source=("https://github.com/davisp/${_pkgname}/archive/${pkgver}.tar.gz") +#source=("${_pkgname}-${pkgver}::git+https://github.com/davisp/ghp-import.git#commit=ab2637fb7a84ed79d6baeb74db7f9e544a448a04") +sha512sums=('2c8204c38fe63417f59cad064e2080606974764e0ae014b13577db0f17686abdce947e6a086784019a658545c302dbf46dc6df958f44e64ddae95032f718684a') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + LC_CTYPE=en_US.UTF-8 python setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + LC_CTYPE=en_US.UTF-8 python setup.py install --root="$pkgdir" -O1 + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}