summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsomini2023-08-24 00:11:57 +0100
committersomini2023-08-24 00:11:57 +0100
commit698672d9c5cadbc40fd9d8cdeb763f3d9df47fa4 (patch)
tree251f3b8e27c884c212ed0391dad5d0e1cf9808e7
parent19e9efe973c2d468d9e150fd57387bc563acf8e2 (diff)
downloadaur-698672d9c5cadbc40fd9d8cdeb763f3d9df47fa4.tar.gz
Move back to a PR on the original repo
This is working-ish again, needs manual handling. See the howto here, mentioned on the install script: https://github.com/zedeus/nitter/pull/985#issuecomment-1690758660
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD8
-rw-r--r--nitter.install7
3 files changed, 11 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0b380eac875b..977e4df9d72b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = nitter-git
pkgdesc = Alternative Twitter front-end
pkgver = latest
- pkgrel = 22
- url = https://github.com/PrivacyDevel/nitter
+ pkgrel = 23
+ url = https://github.com/zedeus/nitter
install = nitter.install
arch = x86_64
license = AGPL3
@@ -15,7 +15,7 @@ pkgbase = nitter-git
provides = nitter
conflicts = nitter
backup = etc/nitter.conf
- source = nitter-git::git+https://github.com/PrivacyDevel/nitter.git#branch=master
+ source = nitter-git::git+https://github.com/zedeus/nitter.git#branch=guest_accounts
source = config.patch
source = tmpfilesd.conf
source = nitter.sh
@@ -26,6 +26,6 @@ pkgbase = nitter-git
sha256sums = 620e38c7bb978a64d276b499d097ec4967fe8bda16852fe0c416ed61744b6526
sha256sums = 79469c5cfeacf38c7469a2240ba5c19670ddaf757e6d1b5286206a18a0718487
sha256sums = 560d98833c56979cb6b5d187a827788dbbdff95871f957225604b58b15c1c219
- sha256sums = 65cc4b90e02da9036dbbf9abbdda205b6327ef18aa802418ae4b76bd669b8e39
+ sha256sums = fbcae10f3d399894aebaa238abec9573f80b65e44324618ec5678c9a010f434a
pkgname = nitter-git
diff --git a/PKGBUILD b/PKGBUILD
index 30034bfddd28..59c3eff26d69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
_pkgname=nitter
pkgname=nitter-git
pkgver=latest
-pkgrel=22
+pkgrel=23
pkgdesc="Alternative Twitter front-end"
-url="https://github.com/PrivacyDevel/nitter"
+url="https://github.com/zedeus/nitter"
depends=('redis')
provides=("$_pkgname")
conflicts=("$_pkgname")
@@ -13,7 +13,7 @@ backup=('etc/nitter.conf')
license=('AGPL3')
arch=('x86_64')
install=nitter.install
-source=("$pkgname::git+$url.git#branch=master"
+source=("$pkgname::git+$url.git#branch=guest_accounts"
"config.patch"
"tmpfilesd.conf"
"nitter.sh"
@@ -24,7 +24,7 @@ sha256sums=('SKIP'
'620e38c7bb978a64d276b499d097ec4967fe8bda16852fe0c416ed61744b6526'
'79469c5cfeacf38c7469a2240ba5c19670ddaf757e6d1b5286206a18a0718487'
'560d98833c56979cb6b5d187a827788dbbdff95871f957225604b58b15c1c219'
- '65cc4b90e02da9036dbbf9abbdda205b6327ef18aa802418ae4b76bd669b8e39')
+ 'fbcae10f3d399894aebaa238abec9573f80b65e44324618ec5678c9a010f434a')
pkgver() {
cd "$pkgname"
diff --git a/nitter.install b/nitter.install
index aada925a4714..c7cb5ab80e75 100644
--- a/nitter.install
+++ b/nitter.install
@@ -1,9 +1,8 @@
post_install() {
cat <<-ECHO
- Twitter no longer allows anonymous read-only access, uses a fork of the
- original project, and a real account is needed.
- To find the new config settings, see:
- https://github.com/zedeus/nitter/pull/830#issuecomment-1609782701.
+ Twitter no longer allows anonymous read-only access, needs "guest
+ accounts". See:
+ https://github.com/zedeus/nitter/pull/985#issuecomment-1690758660
To generate a new 'hmacKey', use:
$ head -c 25 </dev/urandom | sha256sum