summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4aa7ac0aa51a47fd2fe99c0496560824f892585d (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
36
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
_pkgname=opustags
pkgname=opustags-git
pkgver=0.206.4de428b
pkgrel=1
pkgdesc="View and edit tags for opus files from the command line."
arch=('any')
url="https://github.com/fmang/${_pkgname}"
license=('BSD3')
depends=('libogg')
makedepends=('cmake' 'git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://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}"
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
}

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

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