summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 31833271416a4eb96184d5a7c972ef9f8eae6230 (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
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>

pkgname=libaacs-git
pkgver=0.8.1.78.gd4c4c7f
pkgrel=1
pkgdesc="Advanced Access Content System. (GIT version)"
arch=('i686' 'x86_64')
license=('LGPL')
url='http://www.videolan.org/developers/libaacs.html'
depends=('libgcrypt')
makedepends=('git'
             'flex'
             'bison'
             )
provides=('libaacs' 'libaacs.so')
conflicts=('libaacs')
source=('git+https://git.videolan.org/git/libaacs.git')
sha1sums=('SKIP')

pkgver() {
  cd libaacs
  echo "$(git describe --long --tags | tr - .)"
}

prepare() {
  cd libaacs
  ./bootstrap
}

build() {
  cd libaacs
  ./configure \
    --prefix=/usr
  make
}

package() {
  make -C libaacs DESTDIR="${pkgdir}" install
}