blob: 539c760c46ee8160e5143d29a4a192c4972ed136 (
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
|
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
# Co-Maintainer: AliReza AmirSamimi <alireza.amirsamimi at gmail dot com>
pkgname='persepolis-git'
pkgver=5.0.1.r0.g1e46168
pkgrel=1
pkgdesc="Persepolis is a download manager written in Python. (Github version)."
arch=('any')
url="https://github.com/persepolisdm/persepolis"
license=('GPL3')
depends=('ffmpeg' 'libnotify' 'libpulse' 'pyside6' 'python-psutil' 'python-pysocks' 'python-requests' 'python-setproctitle' 'python-urllib3' 'qt6-svg' 'sound-theme-freedesktop' 'yt-dlp')
makedepends=('git' 'meson')
optdepends=('qadwaitadecorations-qt6: for using adwaita style in GTK based Desktops.'
'adwaita-qt6: for using adwaita style in GTK based Desktops. (alternative)')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname%-git}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd ${pkgname%-git}
arch-meson build
meson compile -C build
}
package() {
cd ${pkgname%-git}
meson install -C build --destdir "${pkgdir}"
}
# vim:set ts=4 sw=4 et:
|