summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aee1a4e7c88e34ebfe4a389494133f41b3fb15b5 (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
# Maintainer: 
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=python-pylyrics
_name=PyLyrics
pkgver=1.1.0
pkgrel=3
pkgdesc="A Pythonic Implementation of lyrics.wikia.com for getting lyrics of songs"
arch=('any')
url="https://github.com/geekpradd/PyLyrics"
license=('GPL')
depends=('python-beautifulsoup4' 'python-requests')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip")
sha256sums=('c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604b4cd0b')

build() {
  cd "$_name-$pkgver"
  python -m build --wheel --no-isolation
}

package() {
  cd "$_name-$pkgver"
  python -m installer --destdir="$pkgdir" dist/*.whl
}