summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44a41e23174094baf6aea11501a3e509319f7baf (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
28
29
# Maintainer: NeedlessTyping <misguidedemails@gmail.com> 

pkgname=python-pywal-spotify-git
pkgver=1.0.0
pkgrel=1
pkgdesc="Sync pywal colour scheme and wallpaper with Spotify"
arch=('any')
url="https://gitlab.com/misguidedemails/pywal-spotify/"
license=('GPL3')
depends=('python-pywal' 'feh' 'playerctl' 'python-requests' 'python-pillow')
makedepends=('python-setuptools')
source=("git+https://gitlab.com/misguidedemails/pywal-spotify.git")
sha256sums=('SKIP')

build(){
  cd "pywal-spotify"
  python setup.py build
}

check(){
  cd "pywal-spotify"
  python setup.py test
}

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