# Maintainer: Caleb Maclennan 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' }