blob: f4e7eccd699b4d8e5ef0c6f7c52d4d6cb6255eab (
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
|
# Maintainer: bb010g <me@bb010g.com>
pkgname=fediplay-git
pkgver=r56.1f18295
pkgrel=1
pkgdesc="A Mastodon client that automatically plays your friends' music (Git version)"
arch=(any)
url="https://github.com/zigg/${pkgname%-git}"
license=('MIT')
depends=(ffmpeg python python-{appdirs,click,cssselect,dotenv,lxml,mastodon} youtube-dl)
makedepends=(git python-setuptools)
source=("git+https://github.com/zigg/${pkgname%-git}"
"LICENSE")
sha256sums=('SKIP'
'37598db0448cfa858461cfa4d36a17b39dcb45ea7957e4dc81cdbddd0ef6cdc3')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
python setup.py build
}
package() {
cd "$srcdir/${pkgname%-git}"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|