summaryrefslogblamecommitdiff
path: root/user/libdvdcss/APKBUILD
blob: 25e46df5e5d27309f5b79d57f8b3be34c3d94e9d (plain) (tree)
































                                                                                                                                                                      
# Maintainer: 
pkgname=libdvdcss
pkgver=1.4.2
pkgrel=0
pkgdesc="Library for accessing encrypted DVDs like a block device"
url="https://www.videolan.org/developers/libdvdcss.html"
arch="all"
makedepends="file linux-headers"
license="GPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.videolan.org/pub/libdvdcss/$pkgver/libdvdcss-$pkgver.tar.bz2"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="e46ccded1951046ec481604c5b533c435be14cd0e734cd5315b61868836a20edf4cdc7c1466c2f4ed374de4382c5e758ace700e84aadcb29513001d696f1049c  libdvdcss-1.4.2.tar.bz2"