diff options
author | root <root@rshg054.dnsready.net> | 2012-11-15 03:58:26 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-15 03:58:26 -0800 |
commit | 130aa30d45bf33a5ce926be8697a0e0c077cdc22 (patch) | |
tree | 93a245c570dfdf214e8376cda0624facef2ffe15 /pcr/libtxc_dxtn | |
parent | 2264379d37a6a00a3ecec1fd03c5dd4796078d49 (diff) |
Thu Nov 15 03:58:25 PST 2012
Diffstat (limited to 'pcr/libtxc_dxtn')
-rw-r--r-- | pcr/libtxc_dxtn/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/libtxc_dxtn/PKGBUILD b/pcr/libtxc_dxtn/PKGBUILD new file mode 100644 index 000000000..d491ed6fb --- /dev/null +++ b/pcr/libtxc_dxtn/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> + +pkgname=libtxc_dxtn +pkgver=1.0.1 +pkgrel=2 +arch=(i686 x86_64) +pkgdesc="Texture compression 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) + +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" +} |