core/libdvdread/PKGBUILD

28 lines
740 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=libdvdread
2015-12-29 18:53:52 +08:00
pkgver=5.0.3
pkgrel=1
2010-05-17 15:50:50 +08:00
pkgdesc="Provides a simple foundation for reading DVD video disks"
2015-12-29 18:53:52 +08:00
arch=('x86_64')
url="http://dvdnav.mplayerhq.hu"
2010-03-14 23:48:48 +08:00
license=('GPL')
2015-01-28 23:35:17 +08:00
depends=('glibc' 'libdvdcss')
2015-01-28 17:54:54 +08:00
source=(http://download.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
2015-12-29 18:53:52 +08:00
sha256sums=('321cdf2dbdc83c96572bc583cd27d8c660ddb540ff16672ecb28607d018ed82b')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2010-05-17 15:50:50 +08:00
2015-01-28 17:54:54 +08:00
./configure --prefix=/usr \
--enable-static=no \
2015-01-28 18:12:03 +08:00
--sharedstatedir=/var \
2015-01-28 17:54:54 +08:00
--localstatedir=/var \
--sysconfdir=/etc \
--with-libdvdcss=yes
2011-12-20 20:53:53 +08:00
make
2010-05-17 15:50:50 +08:00
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
2011-12-20 20:53:53 +08:00
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
}