summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 27cb8894121954d26b41a1f2f2adf4e6ad511230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"
}