diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /multilib/lib32-libvdpau |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-libvdpau')
-rw-r--r-- | multilib/lib32-libvdpau/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/multilib/lib32-libvdpau/PKGBUILD b/multilib/lib32-libvdpau/PKGBUILD new file mode 100644 index 000000000..795e0f051 --- /dev/null +++ b/multilib/lib32-libvdpau/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 41886 2011-03-10 14:20:26Z ibiru $ +# Maintainer : Ionut Biru <ibiru@archlinux.org> +# Contributor: TryA <tryagainprod {at} gmail.com> + +_pkgbasename=libvdpau +pkgname=lib32-libvdpau +pkgver=0.4.1 +pkgrel=3 +pkgdesc="Nvidia VDPAU library (32-bit)" +arch=('x86_64') +url=http://cgit.freedesktop.org/~aplattner/libvdpau +depends=(${_pkgbasename}) +options=('!libtool') +license=('custom') +source=(http://people.freedesktop.org/~aplattner/vdpau/${_pkgbasename}-${pkgver}.tar.gz) +makedepends=('lib32-libx11') +sha256sums=('061b6f86c64912f79851bfefcac4f77b401e9a939dbbb7b1ec795bc7d5aaf59b') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/${_pkgbasename}-${pkgver}" + ./configure --prefix=/usr --libdir=/usr/lib32 + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}"/usr/include + + mkdir -p "$pkgdir/usr/share/licenses" + ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" +} |