aboutsummaryrefslogtreecommitdiffstats
path: root/community/libdvdcss/APKBUILD
blob: 1a8f7db6f8bd97f3c9c75133cb716a495a8b6c91 (plain) (blame)
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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=libdvdcss
pkgver=1.4.3
pkgrel=0
pkgdesc="Library for accessing DVDs like a block device without having to bother about the decryption"
url="http://www.videolan.org/developers/libdvdcss.html"
arch="all"
license="GPL-2.0-or-later"
makedepends="file linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.videolan.org/pub/libdvdcss/$pkgver/libdvdcss-$pkgver.tar.bz2
	replace-error.patch
	"

prepare() {
	default_prepare
}

build() {
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

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

check() {
	make check
}

sha512sums="0f9c0244feff5ca62459823810a39ede745b63fedb682707fcbaf0dff11fff42998cef31a281bb6380930123d079780d37a79871f6e628cdca9cfa06c64befb6  libdvdcss-1.4.3.tar.bz2
6aa9510b662d39527935f90fc500d27a8ff6bfc45a967ee3b3affcb0637a3d9ce9acb0967e88c65711a74eeb2061c63b14c542ec47b1dded29a5729f7e659f8e  replace-error.patch"