From eecdab77a61c94b2b20e140bec89ca1691281a72 Mon Sep 17 00:00:00 2001 From: Laura Liberda Date: Sat, 27 Feb 2021 00:13:20 +0100 Subject: [PATCH] New package: haruhi-dl-2021.06.01 --- 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 000000000000..986da6299b96 --- /dev/null +++ b/srcpkgs/haruhi-dl/template @@ -0,0 +1,24 @@ +# Template file for 'haruhi-dl' +pkgname=haruhi-dl +version=2021.06.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=042402b20b08d84c84c876dbdc53b17db80d7d3a3969c91823f1e5f97e41daa9 + +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 000000000000..f07969487f11 --- /dev/null +++ b/srcpkgs/haruhi-dl/update @@ -0,0 +1 @@ +pattern="${pkgname}-\K[0-9.]+(?=\.tar)"