summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f2219f7a8755a7a381bd590173c05bacc2c3ac5c (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
# Maintainer: mutantmonkey <aur@mutantmonkey.in>
pkgname=stag-git
_gitname=stag
pkgver=93.0a158e7
pkgrel=1
pkgdesc="A C curses based mp3/ogg/flac tagging application (git version)"
arch=('i686' 'x86_64')
url="http://cryptm.org/~sturm/stag.html"
license=('custom:none')
depends=('ncurses' 'taglib')
makedepends=('git')
options=('!buildflags')
provides=('stag')
conflicts=('stag')
source=('git+https://github.com/smabie/stag.git')
sha256sums=('SKIP')

pkgver() {
  cd $_gitname
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

build() {
  cd $_gitname
  make
}

package() {
  cd $_gitname
  install -Dm 755 stag $pkgdir/usr/bin/stag
  install -D stag.1 $pkgdir/usr/share/man/man1/stag.1
}

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