summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 513aa7434d769bee6cd0d5621529d44c39df3d23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Mario Ortiz Manero <marioortizmanero@gmail.com>
pkgname=python-lyricwikia
pkgver=0.1.11
pkgrel=1
pkgdesc="LyricWikia API for song lyrics"
arch=("any")
url="http://github.com/enricobacis/lyricwikia"
license=("custom:MIT")
depends=("python" "python-six" "python-requests" "python-beautifulsoup4")
makedepends=("python-setuptools")
source=("https://github.com/enricobacis/lyricwikia/archive/$pkgver.tar.gz")
md5sums=('56ce5e17bc30897633864ad87bcf6d5f')

build() {
    cd "lyricwikia-$pkgver"
    python setup.py build
}

package() {
    cd "lyricwikia-$pkgver"
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}