# Maintainer: Leonardo Arena 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"