blob: 99b980e7d579f8578441cfb2a6c0b4d63d8baf90 (
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
34
35
36
37
|
#Maintainer: Xyne <gro xunilhcra enyx, backwards>
pkgname=powerpill
pkgver=2021.11
pkgrel=15
pkgdesc='Pacman wrapper for faster downloads.'
arch=(any)
license=(GPL)
url="https://xyne.dev/projects/powerpill"
depends=(aria2 'pm2ml>2012.12.12' pyalpm python3 python3-xcgf python3-xcpf)
makedepends=(python-setuptools)
optdepends=('python3-threaded_servers: internal Pacserve support' 'reflector: Reflector and Rsync support' 'rsync: Rsync download support')
backup=(etc/powerpill/powerpill.json)
source=(
https://xyne.dev/projects/powerpill/src/powerpill-2021.11.tar.xz
https://xyne.dev/projects/powerpill/src/powerpill-2021.11.tar.xz.sig
)
sha512sums=(
a4a1067a020056bd258d8a00c60a3fcd8ea3aa745c52a6f5e29f76f7a6d5e93d4a4c612139a8b746aa5ebbd9307c977edd95ca882e9054537757142ea550bf5c
b4039535e72f09f53b72f0f7438968074e1c7182ad52753063ec5807f799e2f6ffe37c5be4df9863ad6fe1690b7605a6e1b6b8d106939f0f4298046656db2998
)
md5sums=(
e54ef66cf3d6ef1a2c00e2e98014e1f9
e5bff9eb655ce0ffda8eabfac42dff59
)
validpgpkeys=('D89FAAEB4CECAFD199A2F5E612C6F735F7A9A519')
package ()
{
cd "$srcdir/$pkgname-$pkgver"
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm644 'powerpill.json' "$pkgdir/etc/powerpill/powerpill.json"
install -Dm644 'man/powerpill.json.1.gz' "$pkgdir/usr/share/man/man1/powerpill.json.1.gz"
install -Dm644 'powerpill-bash-completion.sh' "$pkgdir/usr/share/bash-completion/completions/powerpill"
install -Dm644 '_powerpill.zsh' "$pkgdir/usr/share/zsh/site-functions/_powerpill"
}
# vim: set ts=2 sw=2 et:
|