# Maintainer: Rodrigo Bezerra # Contributor: GordonGR # Contributor: josephgbr _basename=libdvdnav pkgname=lib32-libdvdnav pkgver=6.1.1 pkgrel=1 pkgdesc="The library for xine-dvdnav plugin (32 bit)" arch=(x86_64) license=(GPL) url="https://www.videolan.org/developers/libdvdnav.html" depends=(lib32-libdvdread libdvdnav) source=("https://download.videolan.org/pub/videolan/libdvdnav/${pkgver}/libdvdnav-${pkgver}.tar.bz2"{,.asc}) sha256sums=('c191a7475947d323ff7680cf92c0fb1be8237701885f37656c64d04e98d18d48' 'SKIP') validpgpkeys=('65F7C6B4206BD057A7EB73787180713BE58D1ADC') # VideoLAN Release Signing Key build() { cd "${_basename}-${pkgver}" export CC='gcc -m32' export CXX='g++ -m32' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' ./configure \ --build=i686-pc-linux-gnu \ --prefix=/usr \ --libdir=/usr/lib32 make } package() { cd "${_basename}-${pkgver}" make DESTDIR="${pkgdir}" install rm -rf "${pkgdir}/usr"/{include,share} }