blob: 8b4501c0f8893ae6d2d6f1f39f0fa7340644811d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=mastodon-git
pkgver=1.1.1_29_gc35bda05
_branch=master
pkgrel=0.1
pkgdesc="A GNU Social-compatible microblogging server"
arch=('i686' 'x86_64')
url="https://mastodon.social"
license=('AGPL-3.0')
conflicts=("${pkgname%-git}" "${pkgname%-git}-docker" "${pkgname%-git}-docker-git")
makedepends=(
'yarn'
)
depends=(
'imagemagick'
'ffmpeg'
'libpqxx'
'libxml2'
'libxslt'
'nodejs'
'redis'
'postgresql'
)
source=(
"git://github.com/tootsuite/${pkgname%-git}.git#branch=$_branch"
"mastodon-web.service"
"mastodon-sidekiq.service"
"mastodon-streaming.service"
"mastodon.target"
)
sha256sums=('SKIP')
install=mastodon.install
_user=mastodon
_homedir=/var/lib/mastodon
_shell=/bin/false
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/-/_/g'
}
|