mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 14:07:13 +08:00
29 lines
838 B
Bash
29 lines
838 B
Bash
#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libvdpau
|
|
# Don't forget lib32
|
|
|
|
pkgname=libvdpau
|
|
pkgver=1.1.1
|
|
pkgrel=2
|
|
pkgdesc="Nvidia VDPAU library"
|
|
arch=('x86_64')
|
|
url='http://cgit.freedesktop.org/~aplattner/libvdpau'
|
|
depends=('gcc-libs' 'libxext')
|
|
makedepends=('dri2proto')
|
|
license=('custom')
|
|
source=("http://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${pkgver}.tar.bz2")
|
|
sha256sums=('857a01932609225b9a3a5bf222b85e39b55c08787d0ad427dbd9ec033d58d736')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|