archrelease: copy trunk to community-any
[ArchLinux/community.git] / persepolis / trunk / PKGBUILD
blobf7628a7a5672f6beb844a7d6aad5fa518ce6ee7f
1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
2 # Contributor: AliReza AmirSamimi <alireza.amirsamimi at gmail dot com>
3 # Contributor: M A <morealaz at gmail dot com>
5 pkgname=persepolis
6 pkgver=3.2.0
7 pkgrel=8
8 pkgdesc='Qt front-end for aria2 download manager'
9 arch=('any')
10 url='https://persepolisdm.github.io/'
11 license=('GPL3')
12 depends=('aria2' 'ffmpeg' 'libnotify' 'libpulse' 'python-psutil' 'python-pyqt5' 'python-requests'
13          'python-setproctitle' 'qt5-svg' 'sound-theme-freedesktop' 'youtube-dl')
14 makedepends=('python-setuptools')
15 source=("https://github.com/persepolisdm/persepolis/archive/$pkgver/$pkgname-$pkgver.tar.gz")
16 sha256sums=('d27cf2a4e02b0fbe79b1903ca0ab32a6007493d51a8201443a8febb566750acd')
18 prepare() {
19   cd $pkgname-$pkgver
20   sed -i 's|/usr/share/pixmaps/|/usr/share/icons/hicolor/scalable/apps/|' setup.py
23 build() {
24   cd $pkgname-$pkgver
25   python setup.py build
28 package() {
29   cd $pkgname-$pkgver 
30   python setup.py install --root="$pkgdir" --optimize=1 --skip-build