[arch-commits] Commit in lib32-libtxc_dxtn/repos (2 files)

Laurent Carlier lcarlier at nymeria.archlinux.org
Wed May 29 16:41:32 UTC 2013


    Date: Wednesday, May 29, 2013 @ 18:41:31
  Author: lcarlier
Revision: 91929

archrelease: copy trunk to community-x86_64

Added:
  lib32-libtxc_dxtn/repos/community-x86_64/
  lib32-libtxc_dxtn/repos/community-x86_64/PKGBUILD
    (from rev 91928, lib32-libtxc_dxtn/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: lib32-libtxc_dxtn/repos/community-x86_64/PKGBUILD (from rev 91928, lib32-libtxc_dxtn/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-29 16:41:31 UTC (rev 91929)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+
+_pkgbasename=libtxc_dxtn
+pkgname=lib32-$_pkgbasename
+pkgver=1.0.1
+pkgrel=4
+arch=(x86_64)
+pkgdesc="S3 Texture Compression (S3TC) library for Mesa (32-bit)"
+url="http://dri.freedesktop.org/wiki/S3TC"
+license=(custom:BSD)
+depends=(lib32-mesa)
+makedepends=(gcc-multilib)
+options=(!libtool)
+source=(http://people.freedesktop.org/~cbrill/$_pkgbasename/$_pkgbasename-$pkgver.tar.bz2)
+md5sums=('7105107f07ac49753f4b61ba9d0c79c5')
+
+build() {
+  cd "$srcdir/$_pkgbasename-$pkgver"
+
+  CC="gcc -m32" ./configure --prefix=/usr --libdir=/usr/lib32
+  make
+}
+
+package() {
+  cd "$srcdir/$_pkgbasename-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  rm -rf "$pkgdir/usr/include"
+
+  # License
+  mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
+  sed -n '5,22{s|^ \* \?||;p}' txc_dxtn.h \
+    > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}




More information about the arch-commits mailing list