From 292e334b31199b8fcd65d51235154fcf5191f69e Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Tue, 5 Nov 2019 20:02:15 -0600 Subject: [PATCH] New package: persepolis Closes #16144 --- srcpkgs/persepolis/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/persepolis/template diff --git a/srcpkgs/persepolis/template b/srcpkgs/persepolis/template new file mode 100644 index 00000000000..4ca7fcad2c9 --- /dev/null +++ b/srcpkgs/persepolis/template @@ -0,0 +1,24 @@ +# Template file for 'persepolis' +pkgname=persepolis +version=3.2.0 +revision=1 +archs="noarch" +build_style=python3-module +hostmakedepends="python3 python3-setuptools" +depends="python3-setproctitle python3-requests python3-psutil aria2 ffmpeg + libnotify pulseaudio youtube-dl sound-theme-freedesktop qt5-svg" +short_desc="Aria2 Python GUI" +maintainer="Nathan Owens " +license="GPL-3.0-or-later" +homepage="https://persepolisdm.github.io/" +distfiles="https://github.com/persepolisdm/${pkgname}/archive/${version}.tar.gz" +checksum=d27cf2a4e02b0fbe79b1903ca0ab32a6007493d51a8201443a8febb566750acd + +do_patch() { +# Remove input, otherwise will stop install +# Script checks for run dependencies during build + +sed -e '/input/d' \ + -e '/if answer not/d' \ + -e '/sys.exit(1)/d' -i setup.py +}