[arch-commits] Commit in (4 files)
Laurent Carlier
lcarlier at nymeria.archlinux.org
Thu Jul 18 12:10:53 UTC 2013
Date: Thursday, July 18, 2013 @ 14:10:53
Author: lcarlier
Revision: 190833
moved from community as an (opt)dependency of mesa
Added:
libtxc_dxtn/
libtxc_dxtn/repos/
libtxc_dxtn/trunk/
libtxc_dxtn/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Added: libtxc_dxtn/trunk/PKGBUILD
===================================================================
--- libtxc_dxtn/trunk/PKGBUILD (rev 0)
+++ libtxc_dxtn/trunk/PKGBUILD 2013-07-18 12:10:53 UTC (rev 190833)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 91926 2013-05-29 16:38:22Z lcarlier $
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Jan "heftig" Steffens <jan.steffens at gmail.com>
+
+pkgname=libtxc_dxtn
+pkgver=1.0.1
+pkgrel=5
+arch=(i686 x86_64)
+pkgdesc="S3 Texture Compression (S3TC) library for Mesa"
+url="http://dri.freedesktop.org/wiki/S3TC"
+license=(custom:BSD)
+depends=(mesa)
+options=(!libtool)
+source=(http://people.freedesktop.org/~cbrill/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('7105107f07ac49753f4b61ba9d0c79c5')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # 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