From 908a5ace10c3a5a3b95d9b84437e8350baac458d Mon Sep 17 00:00:00 2001 From: Laura Liberda Date: Sat, 27 Feb 2021 00:13:20 +0100 Subject: [PATCH] haruhi-dl: new package --- srcpkgs/haruhi-dl/template | 24 ++++++++++++++++++++++++ srcpkgs/haruhi-dl/update | 1 + 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/haruhi-dl/template create mode 100644 srcpkgs/haruhi-dl/update diff --git a/srcpkgs/haruhi-dl/template b/srcpkgs/haruhi-dl/template new file mode 100644 index 00000000000..08c478b5b2c --- /dev/null +++ b/srcpkgs/haruhi-dl/template @@ -0,0 +1,24 @@ +# Template file for 'haruhi-dl' +pkgname=haruhi-dl +version=2021.03.01 +revision=1 +wrksrc="${pkgname}-v${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +checkdepends="flake8 python3-nose" +short_desc="CLI program to download videos from many websites (fork of youtube-dl)" +maintainer="Lauren Liberda " +license="LGPL-3.0-or-later" +homepage="https://haruhi.download/" +changelog="https://git.sakamoto.pl/laudompat/haruhi-dl/-/raw/master/ChangeLog" +distfiles="https://git.sakamoto.pl/laudompat/haruhi-dl/-/archive/v${version}/haruhi-dl-v${version}.tar.gz" +checksum=c7274960c0ef1ac2bed024a2f2fe09d9b8da6f6a7f43656670bbe0d699007a86 + +do_check() { + PYTHON=/usr/bin/python3 make offlinetest +} + +post_install() { + rm -rf ${DESTDIR}/usr/etc +} diff --git a/srcpkgs/haruhi-dl/update b/srcpkgs/haruhi-dl/update new file mode 100644 index 00000000000..f07969487f1 --- /dev/null +++ b/srcpkgs/haruhi-dl/update @@ -0,0 +1 @@ +pattern="${pkgname}-\K[0-9.]+(?=\.tar)"