2022-05-28 07:44:20 +00:00
|
|
|
# Maintainer: psykose <alice@ayaya.dev>
|
|
|
|
pkgname=nitter
|
2022-08-04 21:33:36 +00:00
|
|
|
pkgver=0_git20220721
|
|
|
|
_gitrev=5f31e86e0e8578377fa7d5aeb9631bbb2d35ef1e
|
2022-08-09 17:42:34 +00:00
|
|
|
pkgrel=2
|
2022-05-28 07:44:20 +00:00
|
|
|
pkgdesc="Alternative Twitter front-end "
|
|
|
|
url="https://github.com/zedeus/nitter/"
|
|
|
|
arch="all"
|
|
|
|
license="AGPL-3.0-only"
|
2022-08-04 21:33:36 +00:00
|
|
|
depends="libssl1.1 libcrypto1.1"
|
2022-05-28 07:44:20 +00:00
|
|
|
makedepends="libsass-dev nimble"
|
|
|
|
pkgusers="nitter"
|
|
|
|
pkggroups="nitter"
|
|
|
|
install="$pkgname.pre-install"
|
|
|
|
subpackages="$pkgname-openrc"
|
|
|
|
source="https://github.com/zedeus/nitter/archive/$_gitrev/nitter-$_gitrev.tar.gz
|
|
|
|
nitter.initd
|
|
|
|
"
|
|
|
|
builddir="$srcdir/$pkgname-$_gitrev"
|
|
|
|
options="!check"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
nimble -y build -d:release
|
|
|
|
nimble -y scss
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-08-09 17:42:34 +00:00
|
|
|
depends="$depends redis"
|
2022-05-28 07:44:20 +00:00
|
|
|
|
|
|
|
install -Dm755 nitter -t "$pkgdir"/usr/bin
|
|
|
|
install -Dm755 "$srcdir"/nitter.initd "$pkgdir"/etc/init.d/nitter
|
|
|
|
|
|
|
|
install -Dm640 nitter.example.conf -t"$pkgdir"/var/lib/nitter
|
|
|
|
|
|
|
|
cp -a public "$pkgdir"/var/lib/nitter
|
|
|
|
chown -R nitter:nitter "$pkgdir"/var/lib/nitter
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-08-04 21:33:36 +00:00
|
|
|
efa01a8608988a79da87dc98015953ba97a294fcb6a916cf3afd1bc8b2a5ef3ebee13725446fe59a5913456f9e50bb292154a865d75dc60f26ffe97369d485f2 nitter-5f31e86e0e8578377fa7d5aeb9631bbb2d35ef1e.tar.gz
|
2022-05-28 07:44:20 +00:00
|
|
|
7382562f40e50d13ba16adf17eb86b58b365474934bb33cbddf9117d4cc7ff12da9186edb01fd3c13b4efd91e35e57f368f056b376d03b4d5c6a191971a07ace nitter.initd
|
|
|
|
"
|