[arch-commits] Commit in python-qtawesome/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 04:14:30 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:14:30
  Author: felixonmars
Revision: 748590

archrelease: copy trunk to community-staging-any

Added:
  python-qtawesome/repos/community-staging-any/
  python-qtawesome/repos/community-staging-any/PKGBUILD
    (from rev 748588, python-qtawesome/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: python-qtawesome/repos/community-staging-any/PKGBUILD (from rev 748588, python-qtawesome/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:14:30 UTC (rev 748590)
@@ -0,0 +1,26 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=python-qtawesome
+_pkgname='qtawesome'
+pkgver=0.6.0
+pkgrel=4
+pkgdesc='Iconic fonts in PyQt and PySide applications'
+arch=('any')
+url="https://github.com/spyder-ide/${_pkgname}/"
+license=('MIT')
+source=("python-${_pkgname}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${_pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('573192ceb76f79f384e8cfb2d5e69ad63ae97cb89711d5e1d2a9373eb6cc2067')
+makedepends=('python' 'python-setuptools')
+depends=('python-six' 'python-qtpy')
+
+build() {
+  cd "${_pkgname}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${_pkgname}-${pkgver}"
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+  # Install license file
+  install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list