Date: Saturday, June 30, 2018 @ 17:53:58 Author: foutrelis Revision: 348746
archrelease: copy trunk to community-staging-any Added: python-qtawesome/repos/community-staging-any/ python-qtawesome/repos/community-staging-any/PKGBUILD (from rev 348744, python-qtawesome/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: python-qtawesome/repos/community-staging-any/PKGBUILD (from rev 348744, python-qtawesome/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-06-30 17:53:58 UTC (rev 348746) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ + +pkgbase='python-qtawesome' +_pkgbase='qtawesome' +pkgname=('python-qtawesome' 'python2-qtawesome') +pkgver=0.4.4 +pkgrel=2 +pkgdesc='Iconic fonts in PyQt and PySide applications' +makedepends=('python' 'python-setuptools' + 'python2' 'python2-setuptools') +arch=('any') +url="https://github.com/spyder-ide/${_pkgbase}/" +license=('MIT') +source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${_pkgbase}/archive/v${pkgver}.tar.gz") +sha256sums=('f6cdc1546906c00019adf748d259ec68055113b65108e90ce7bd8a869eb3daf4') + +package_python2-qtawesome() { + depends=('python2') + + cd "${srcdir}/${_pkgbase}-${pkgver}" + python2 setup.py build + python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + # Install license file + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +package_python-qtawesome() { + depends=('python') + + cd "${srcdir}/${_pkgbase}-${pkgver}" + python setup.py build + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + # Install license file + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}