summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc2078cbc30c73194adfb12c3e31407f73272258 (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
42
43
44
45
46
47
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>

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

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

prepare() {
  mkdir -p build

  cd libaacs
  autoreconf -vfi
}

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

  make
}

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