diff --git a/lib32-libtxc-dxtn/PKGBUILD b/lib32-libtxc-dxtn/PKGBUILD index f768e29..4330283 100644 --- a/lib32-libtxc-dxtn/PKGBUILD +++ b/lib32-libtxc-dxtn/PKGBUILD @@ -3,28 +3,29 @@ # # Maintainer: Francesco Marinucci -_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"