diff options
author | Soham Sen | 2020-09-06 20:05:14 +0530 |
---|---|---|
committer | Soham Sen | 2020-09-06 20:05:14 +0530 |
commit | 672f6d959b4ecb021a3bcc0714dc3812f9ac68ee (patch) | |
tree | c47d3921e16d7fd64d7ff70510f6cd58b40295e0 /PKGBUILD | |
download | aur-swaglyrics.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..21c94ab22a5f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Soham Sen <aur at sohamsen dot me> +pkgname=swaglyrics +_name=SwagLyrics-For-Spotify +pkgver=1.2.2 +pkgrel=1 +pkgdesc="Get lyrics of currently playing Spotify song so you don't sing along with the wrong ones and embarrass yourself later. Very fast." +arch=('any') +url="https://github.com/SwagLyrics/SwagLyrics-For-Spotify" +license=('MIT') +depends=('python-swspotify' 'python-beautifulsoup4' 'python-colorama' 'python-unidecode') +makedepends=('python-setuptools') +source=("$_name-$pkgver.tar.gz::https://github.com/SwagLyrics/$_name/archive/v$pkgver.tar.gz") +sha256sums=('be57ac34b2f7ad2c100a29eef5f65cab38d3219fa86933fde57be064bbc2a027') + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +package() { + cd "$_name-$pkgver" + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE.md +} |