summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c58bb169a1d4a352767e85672cf1845d56ad86dd (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
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
_pkgname=gasher
pkgname=gasher-git
pkgver=101.226f4f1
pkgrel=1
pkgdesc="A GNU Social client written in bash."
arch=('any')
url="https:/git.2mb.codes/~lilmike/gasher"
license=('GPL3')
depends=('bash' 'curl')
makedepends=('git')
optdepends=('sox: soundclip recording and playback'
  'mplayer: sound clip playback'
  'mpv: sound clip playback')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://git.2mb.codes/~lilmike/$_pkgname")
md5sums=("SKIP")

 pkgver()
{
   cd "$srcdir/$_pkgname"
   echo "$(git rev-list --count HEAD).$(git describe --always)"
 }

 package()
 {
  cd "$_pkgname"
  install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
  }

# vim:set ts=2 sw=2 et: