From 55606d03db04b55e73f76a6a2c14ef5aebe4c62c 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..8684f2a9637 --- /dev/null +++ b/srcpkgs/haruhi-dl/template @@ -0,0 +1,24 @@ +# Template file for 'haruhi-dl' +pkgname=haruhi-dl +version=2021.02.26 +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=1a73f4e0b58ef12cc12535f780747e6487adc6dd6a148e429f6cac8664ae8f25 + +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)"