diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-02 19:17:56 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-02 19:17:56 -0300 |
commit | a9759accda976048a678a11d88d1f52aea6b1ab6 (patch) | |
tree | 1bf228e58040c67e70cb4e8caf2a0551b28a5bb9 /libre-multilib/lib32-mesa-demos-libre/PKGBUILD | |
parent | f0d435b2b7ece4750734fff37c2d6c46e69b5b37 (diff) | |
download | abslibre-a9759accda976048a678a11d88d1f52aea6b1ab6.tar.gz abslibre-a9759accda976048a678a11d88d1f52aea6b1ab6.tar.bz2 abslibre-a9759accda976048a678a11d88d1f52aea6b1ab6.zip |
lib32-mesa-demos-8.2.0-2.parabola1: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre-multilib/lib32-mesa-demos-libre/PKGBUILD')
-rw-r--r-- | libre-multilib/lib32-mesa-demos-libre/PKGBUILD | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/libre-multilib/lib32-mesa-demos-libre/PKGBUILD b/libre-multilib/lib32-mesa-demos-libre/PKGBUILD deleted file mode 100644 index badab3a2e..000000000 --- a/libre-multilib/lib32-mesa-demos-libre/PKGBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# $Id: PKGBUILD 115314 2014-07-08 15:30:12Z bluewind $ -# Maintainer (Arch): Jan de Groot <jgc@archlinux.org> -# Maintainer (Arch): Andreas Radke <andyrtr@archlinux.org> -# Maintainer: André Silva <emulatorman@parabola.nu> - -_pkgbasename=mesa-demos-libre -pkgname=lib32-$_pkgbasename -pkgver=8.2.0 -pkgrel=2 -arch=(x86_64) -pkgdesc="Mesa demos and tools (32-bit), without nonfree demos" -url="http://mesa3d.sourceforge.net" -license=('custom') -provides=("lib32-mesa-demos=$pkgver") -replaces=('lib32-mesa-demos') -conflicts=('lib32-mesa-demos') -depends=('lib32-libgl' 'lib32-glew' 'mesa-demos-libre') -makedepends=(gcc-multilib 'lib32-mesa' 'lib32-glew') -source=(https://repo.parabolagnulinux.org/other/mesa-demos-libre/mesa-demos-libre-${pkgver}.tar.bz2 - libre.patch) -md5sums=('67cd419bd5bbaa6436ad98a703d30441' - 'e986d07f36931e895bdbd9c83ed260c8') - -prepare() { - cd "${srcdir}/mesa-demos-${pkgver}" - # remove nonfree demos references (pointblast and spriteblast) - patch -Np1 -i ../libre.patch -} - -build() { - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - - cd "${srcdir}/mesa-demos-${pkgver}" - ./configure --prefix=/usr - - make -} - -package() { - depends=('lib32-glew' mesa-demos-libre) - - cd "${srcdir}/mesa-demos-${pkgver}" - make DESTDIR="${pkgdir}" install - - for i in "$pkgdir/usr/bin/"*; do - mv "$i" "$i"32 - done - - rm -r "$pkgdir/usr/share/mesa-demos" - - mkdir -p "$pkgdir/usr/share/licenses" - ln -s mesa-demos "$pkgdir/usr/share/licenses/lib32-mesa-demos" -} |