summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2019-10-12 20:38:58 +0200
committerMuflone2019-10-12 20:38:58 +0200
commitb0a1502be0baaa7092dddcef26d47cc2c40ce40d (patch)
treec5970d2d209b9166229b47bab68a946c111485c8
downloadaur-b0a1502be0baaa7092dddcef26d47cc2c40ce40d.tar.gz
New package python2-qtawesome 0.6.0-1
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD27
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e7e139a3e74
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python2-qtawesome
+ pkgdesc = Iconic fonts in PyQt and PySide applications
+ pkgver = 0.6.0
+ pkgrel = 1
+ url = https://github.com/spyder-ide/qtawesome/
+ arch = any
+ license = MIT
+ makedepends = python2
+ makedepends = python2-setuptools
+ depends = python2-six
+ depends = python2-qtpy
+ source = python-qtawesome-0.6.0.tar.gz::https://github.com/spyder-ide/qtawesome/archive/v0.6.0.tar.gz
+ sha256sums = 573192ceb76f79f384e8cfb2d5e69ad63ae97cb89711d5e1d2a9373eb6cc2067
+
+pkgname = python2-qtawesome
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..27cb8894121
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=python2-qtawesome
+_pkgname='qtawesome'
+pkgver=0.6.0
+pkgrel=1
+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=('python2' 'python2-setuptools')
+depends=('python2-six' 'python2-qtpy')
+
+build() {
+ cd "${_pkgname}-${pkgver}"
+ python2 setup.py build
+}
+
+package_python2-qtawesome() {
+ cd "${_pkgname}-${pkgver}"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+ # Install license file
+ install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+