[new_pkg] libdvdnav

This commit is contained in:
Developer 2024-06-21 20:24:18 -04:00
parent 0540dbb7a1
commit 2b74bf835d

29
main/libdvdnav/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# Packager = Developer <dev@tuxcore.org> # contributor Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=libdvdnav
pkgver=6.1.1
pkgrel=2
pkgdesc='Library to navigate DVD video disks'
arch=('x86_64')
url='https://www.videolan.org/developers/libdvdnav.html'
license=('GPL-2.0-or-later')
depends=('glibc' 'libdvdread')
makedepends=('git')
source=("git+https://code.videolan.org/videolan/libdvdnav.git#tag=$pkgver")
b2sums=('923e3171a7b5d488e77bbe8411827568c89cc85b2bb4d5434fc044b27274ef6c7e5987c4f2900f3a26371531603dcc66a7d40a7b4a9574fd8a4e677a482f7004')
prepare() {
cd $pkgname
autoreconf -fi
}
build() {
cd $pkgname
./configure --prefix=/usr
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}