diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,9 +1,19 @@ # Maintainer: Caleb Maclennan <caleb@alerque.com> pkgname=mastodon-git -pkgver=1.0 -pkgrel=0.1 +pkgver=1.0_584_g1c351709 +_branch=master +pkgrel=1 pkgdesc="A GNU Social-compatible microblogging server" arch=('i686' 'x86_64') url="https://mastodon.social" license=('AGPL-3.0') +conflicts=("${pkgname%-git}") +source=("git://github.com/tootsuite/${pkgname%-git}.git#branch=$_branch") +sha256sums=('SKIP') + +pkgver() { + cd "${pkgname%-git}" + git describe --long --tags | sed 's/^v//;s/-/_/g' +} + |