mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 14:14:45 +08:00
28 lines
814 B
Bash
28 lines
814 B
Bash
#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libvdpau
|
|
|
|
pkgname=libvdpau
|
|
pkgver=1.1
|
|
pkgrel=1
|
|
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.gz")
|
|
sha256sums=('aea4e783f220bf26ba2139ccd866a0ee5005fa03af5e08c41fbc939118263919')
|
|
|
|
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}/"
|
|
}
|