[new_pkg] libdvdread

This commit is contained in:
Developer 2024-06-21 20:24:15 -04:00
parent 98a3cbcc22
commit 0540dbb7a1

29
main/libdvdread/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# Packager = Developer <dev@tuxcore.org>
pkgname=libdvdread
pkgver=6.1.3
pkgrel=2
pkgdesc='Library for reading DVD video disks'
arch=('x86_64')
url='https://www.videolan.org/developers/libdvdnav.html'
license=('GPL-2.0-or-later')
depends=('glibc')
makedepends=('git')
optdepends=('libdvdcss: Decoding encrypted DVDs')
source=("git+https://code.videolan.org/videolan/libdvdread.git#tag=$pkgver")
b2sums=('bdc0a6fcbc75dfe000f618cab1e2c736762a1d54c68851207c471a7177080c48964d2b7e4dc96dbdbacdadb42f022a2d3c6e097e83b612b9bbe2641240c5f38d')
prepare() {
cd $pkgname
autoreconf -fi
}
build() {
cd $pkgname
./configure --prefix=/usr
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}