blob: a6901afb77f3bac60553d80a0a1fb2681fb50d18 (
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: Jona Miller <miller.jona at yandex dot com>
pkgname=onhold
pkgver=0.6.4
pkgrel=1
pkgdesc="A command-line utility that allows you to play music while a long job completes"
arch=('any')
url="https://github.com/alexdelorenzo/onhold"
license=('AGPL3')
depends=('python>=3.6.0')
makedepends=('python-pip')
source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
md5sums=('SKIP')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
python3 -m pip install -r requirements.txt
}
build() {
cd "$srcdir/$pkgname-$pkgver"
python3 setup.py build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm644 ./README.md -t "$pkgdir/usr/share/doc/$pkgname/"
install -Dm644 ./LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|