added libtxc_dxtn deps of ati-dri/intel-dri/nouveau-dri

This commit is contained in:
AlmAck 2014-06-26 00:07:59 +02:00
parent fea20ff7e6
commit e009cffa76

View File

@ -3,28 +3,29 @@
#
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
_pkgbasename=libtxc-dxtn
_pkgbasename=libtxc_dxtn
pkgname=lib32-$_pkgbasename
pkgver=1.0.1
pkgrel=3
pkgrel=1
arch=('x86_64')
pkgdesc="Texture compression library for Mesa (32-bit)"
url="http://dri.freedesktop.org/wiki/S3TC"
license=(custom:BSD)
depends=('lib32-mesa' $_pkgbasename=$pkgver)
makedepends=(gcc-multilib)
depends=('lib32-glibc' $_pkgbasename=$pkgver)
makedepends=('gcc-multilib' 'lib32-mesa')
options=(!libtool)
source=(http://cgit.freedesktop.org/~mareko/$_pkgbasename/snapshot/$_pkgbasename-$pkgver.tar.bz2)
md5sums=('63dc19246e1b8a5990be5ced66aff913')
source=(http://people.freedesktop.org/~cbrill/$_pkgbasename/$_pkgbasename-$pkgver.tar.bz2)
md5sums=('7105107f07ac49753f4b61ba9d0c79c5')
build() {
cd "$srcdir/$_pkgbasename-$pkgver"
CC="gcc -m32" ./autogen.sh --prefix=/usr --libdir=/usr/lib32
cd "$_pkgbasename-$pkgver"
CC="gcc -m32" ./configure --prefix=/usr --libdir=/usr/lib32
make
}
package() {
cd "$srcdir/$_pkgbasename-$pkgver"
cd "$_pkgbasename-$pkgver"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir/usr/include"