summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3cffb1446bd966a16ea04fbfb9cae2702655a51f (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
37
38
39
40
41
# Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>

pkgname=dcaenc-git
pkgver=44.68ed0d6
pkgrel=1
pkgdesc="A Free Software (LGPL-licensed) encoder for the DTS Coherent Acoustics audio format."
arch=(x86_64 i686)
url="http://aepatrakov.narod.ru/dcaenc/"
license=(LGPL)
depends=(alsa-lib)
makedepends=(git autoconf)
provides=(dcaenc)
conflicts=(dcaenc)
options=(!libtool)
source=("git+git://gitorious.org/dtsenc/dtsenc.git")
sha512sums=('SKIP')

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

build() {
  cd dtsenc

  autoreconf -vfi
  ./configure --prefix=/usr
  make
}

check() {
  cd dtsenc
  make -k check
}

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

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