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

pkgname=libbdplus-git
pkgver=0.1.2.33.g1dea325
pkgrel=1
pkgdesc="Open implementation of BD+ protocol. (GIT version)"
arch=('x86_64')
license=('LGPL')
url='http://www.videolan.org/developers/libbdplus.html'
depends=('libaacs')
makedepends=('git')
provides=('libbdplus'
          'libbdplus.so'
          )
conflicts=('libbdplus')
source=('git://git.videolan.org/libbdplus.git')
sha256sums=('SKIP')

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

prepare() {
  mkdir -p build

  cd libbdplus
  autoreconf -vfi
}

build() {
  cd build
  ../libbdplus/configure \
    --prefix=/usr \
    --disable-static

  make
}

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