# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> setvar pkgname = 'libdvdcss' setvar pkgver = '1.4.0' setvar pkgrel = '1' setvar pkgdesc = ""Library for accessing DVDs like a block device without having to bother about the decryption"" setvar url = ""http://www.videolan.org/developers/libdvdcss.html"" setvar arch = ""all"" setvar makedepends = ""file linux-headers"" setvar license = ""GPL"" setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar source = ""http://download.videolan.org/pub/libdvdcss/$pkgver/libdvdcss-$pkgver.tar.bz2 replace-error.patch "" setvar builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { cd $builddir default_prepare } proc build { cd $builddir ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make } proc package { cd $builddir make DESTDIR="$pkgdir" install } proc check { cd $builddir make check } setvar sha512sums = ""ad4503a37f47a9563da0b9e387ca3e812f6cdfbf109b8d92f8eccdd879b4270e5b0ee79041d7fb4c86698d72748f7bbf0257db8da6bb1c889dd4f78645e3371b libdvdcss-1.4.0.tar.bz2 6aa9510b662d39527935f90fc500d27a8ff6bfc45a967ee3b3affcb0637a3d9ce9acb0967e88c65711a74eeb2061c63b14c542ec47b1dded29a5729f7e659f8e replace-error.patch""