summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc9b364e2fdcdd2f497e787217cfc6d2a4664469 (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
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
_pkgname=opustags
pkgname=opustags-git
pkgver=0.36.fcd6470
pkgrel=1
pkgdesc="View and edit tags for opus files from the command line."
arch=('any')
url="http://github.com/fmang/pkgname"
license=('GPL3')
depends=('libogg')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+git://github.com/fmang/$_pkgname.git")
md5sums=("SKIP")

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

build()
{
cd "$srcdir/$_pkgname"
make
}

package()
 {
  cd "$srcdir/$_pkgname"
make PREFIX=/usr DESTDIR="$pkgdir/usr" install
  }

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