blob: 009bcb12f4a8edbad49ec96e123d95c2b909547c (
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
48
49
50
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=libbdplus-git
pkgver=0.2.0.0.g98a4ba1
pkgrel=1
pkgdesc="Open implementation of BD+ protocol. (GIT version)"
arch=('x86_64')
license=('LGPL')
url='http://www.videolan.org/developers/libbdplus.html'
depends=(
'glibc' # libc.so
'libaacs'
'libgpg-error' # libgpg-error.so
'libgcrypt' # libgcrypt.so
)
makedepends=('git')
provides=(
'libbdplus'
'libbdplus.so'
)
conflicts=('libbdplus')
source=('git+https://code.videolan.org/videolan/libbdplus.git')
sha256sums=('SKIP')
pkgver() {
cd libbdplus
echo "$(git describe --long --tags | tr - .)"
}
prepare() {
mkdir -p build
sed 's|gpg-error-config|gpg-error|g' -i libbdplus/configure.ac
}
build() {
cd libbdplus
autoreconf -vfi
cd ../build
../libbdplus/configure \
--prefix=/usr \
--disable-static
make
}
package() {
make -C build DESTDIR="${pkgdir}" install
}
|