blob: 87da44ded290ad99c9a94ead7c06c82857e9bc6e (
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
30
31
32
33
|
# Maintainer: David Beley <dbeley@protonmail.com>
pkgname=lastfm_cg-git
pkgver=1.6.0
pkgrel=1
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
pkgdesc="Lastfm Collage Generator"
arch=('any')
url="https://github.com/dbeley/${pkgname%-git}"
license=('MIT')
depends=(
'python'
'python-setuptools'
'python-pillow'
'python-numpy'
'python-pylast'
'python-requests'
'python-requests-cache'
'python-tqdm'
)
source=("git+https://github.com/dbeley/${pkgname%-git}")
md5sums=("SKIP")
build() {
cd "${pkgname%-git}"
python setup.py build
}
package() {
cd "${pkgname%-git}"
python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|