summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsomini2020-06-14 16:51:22 +0100
committersomini2020-06-14 16:51:22 +0100
commit66172ebabaaa237980b0072ce8d1526f35d7e93a (patch)
tree48e440af8285663606b44bb66a1040c10af5c9dc
parent3d570275a49b17ab3a47dc4a1bc0c04a0c04dbdc (diff)
downloadaur-66172ebabaaa237980b0072ce8d1526f35d7e93a.tar.gz
Include an .install file to document systemd setup
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD9
-rw-r--r--nitter.install8
3 files changed, 19 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 62acfd6f172..d9398f79be1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = nitter-git
pkgdesc = Alternative Twitter front-end
pkgver = latest
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/zedeus/nitter
+ install = nitter.install
arch = x86_64
license = AGPL3
makedepends = git
@@ -16,11 +17,13 @@ pkgbase = nitter-git
source = tmpfilesd.conf
source = nitter.sh
source = nitter.service
+ source = nitter.install
sha256sums = SKIP
sha256sums = 18399b0ea27d3750f4739e3d17327ba373f5247e4c8552051a50fa3e8e5631f1
sha256sums = 832d2963389270332e50da95082d43babbe40124dc2d7177bb19eefac9586891
sha256sums = 79469c5cfeacf38c7469a2240ba5c19670ddaf757e6d1b5286206a18a0718487
- sha256sums = 3c09448a6e9da6afd2554e06c1718e02ed8f037375611057ef7ab52c3dc02371
+ sha256sums = 47a5d6098a6750916110dd1172f2e5c327d863e44053a8d97883d61f78f5ef00
+ sha256sums = 57eb0d0aa47416006f107df078221e64023881123e8ec961266029db9228af9d
pkgname = nitter-git
diff --git a/PKGBUILD b/PKGBUILD
index 92d27462c12..76d8e130777 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: somini <dev@somini.xyz>
pkgname=nitter-git
pkgver=latest
-pkgrel=4
+pkgrel=5
pkgdesc="Alternative Twitter front-end"
url="https://github.com/zedeus/nitter"
depends=('redis')
@@ -9,16 +9,19 @@ makedepends=('git' 'nim' 'nimble' 'libsass')
backup=('etc/nitter.conf')
license=('AGPL3')
arch=('x86_64')
+install=nitter.install
source=("$pkgname::git+$url.git#branch=master"
"config.patch"
"tmpfilesd.conf"
"nitter.sh"
- "nitter.service")
+ "nitter.service"
+ "nitter.install")
sha256sums=('SKIP'
'18399b0ea27d3750f4739e3d17327ba373f5247e4c8552051a50fa3e8e5631f1'
'832d2963389270332e50da95082d43babbe40124dc2d7177bb19eefac9586891'
'79469c5cfeacf38c7469a2240ba5c19670ddaf757e6d1b5286206a18a0718487'
- '3c09448a6e9da6afd2554e06c1718e02ed8f037375611057ef7ab52c3dc02371')
+ '47a5d6098a6750916110dd1172f2e5c327d863e44053a8d97883d61f78f5ef00'
+ '57eb0d0aa47416006f107df078221e64023881123e8ec961266029db9228af9d')
pkgver() {
cd "$pkgname"
diff --git a/nitter.install b/nitter.install
new file mode 100644
index 00000000000..d6743f58024
--- /dev/null
+++ b/nitter.install
@@ -0,0 +1,8 @@
+post_install() {
+ cat <<-ECHO
+ Make sure nitter starts before the proxy server.
+ Use "systemctl edit nitter" and add something like this:
+ > [Unit]
+ > Before=nginx.service
+ ECHO
+}