From d9814ca4171adb5b14c4d57a8ba19f8d6cedde72 Mon Sep 17 00:00:00 2001 From: mmnmnnmnmm <45293514+mmnmnnmnmm@users.noreply.github.com> Date: Thu, 24 Dec 2020 15:40:54 +0000 Subject: [PATCH] New package: tscrape-0.6 --- srcpkgs/tscrape/patches/bearer.patch | 20 ++++++++++++++++++++ srcpkgs/tscrape/template | 17 +++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 srcpkgs/tscrape/patches/bearer.patch create mode 100644 srcpkgs/tscrape/template diff --git a/srcpkgs/tscrape/patches/bearer.patch b/srcpkgs/tscrape/patches/bearer.patch new file mode 100644 index 000000000000..83bfcee130f8 --- /dev/null +++ b/srcpkgs/tscrape/patches/bearer.patch @@ -0,0 +1,20 @@ +Author: Hiltjo Posthuma +Date: Fri, 19 Mar 2021 11:25:29 +0100 + +update static bearer token + +This uses the same bearer as youtube-dl. + +Thanks frobnitz! + +1 file changed, 1 insertion(+), 1 deletion(-) +diff --git tscrape_update.orig tscrape_update +@@ -10,7 +10,7 @@ tscrapepath="$HOME/.tscrape/feeds" + maxjobs=8 + + # Twitter authentication bearer (seems to be static). +-bearer="AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA" ++bearer="AAAAAAAAAAAAAAAAAAAAAPYXBAAAAAAACLXUNDekMxqa8h%2F40K4moUkGsoc%3DTYfbDKbT3jJPCEVnMYqilB28NHfOPqkca3qaAxGfsyKCs0wRbw" + + # guest token. + token="" diff --git a/srcpkgs/tscrape/template b/srcpkgs/tscrape/template new file mode 100644 index 000000000000..0a80cd7981a1 --- /dev/null +++ b/srcpkgs/tscrape/template @@ -0,0 +1,17 @@ +# Template file for 'tscrape' +pkgname=tscrape +version=0.6 +revision=1 +build_style=gnu-makefile +make_install_args="MANPREFIX=/usr/share/man" +depends="curl" +short_desc="Twitter feed parser" +maintainer="mmnmnnmnmm " +license="ISC" +homepage="https://git.codemadness.org/tscrape" +distfiles="https://codemadness.org/releases/tscrape/tscrape-${version}.tar.gz" +checksum=d9cbb9ab1072f808fc29dfa69a685f959ac0afd3ec69ca11df3a0b555b0bee87 + +post_install() { + vlicense LICENSE +}