diff options
Diffstat (limited to 'multilib/lib32-libogg/PKGBUILD')
-rw-r--r-- | multilib/lib32-libogg/PKGBUILD | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/multilib/lib32-libogg/PKGBUILD b/multilib/lib32-libogg/PKGBUILD deleted file mode 100644 index ff8614b23..000000000 --- a/multilib/lib32-libogg/PKGBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# $Id: PKGBUILD 40915 2011-03-01 15:20:49Z bluewind $ -# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> - -_pkgbasename=libogg -pkgname=lib32-$_pkgbasename -pkgver=1.2.2 -pkgrel=1 -pkgdesc="Ogg bitstream and framing library (32-bit)" -arch=('x86_64') -url="http://www.xiph.org/ogg/" -license=('BSD') -depends=('lib32-glibc' $_pkgbasename) -makedepends=(gcc-multilib) -options=('!libtool') -source=(http://downloads.xiph.org/releases/ogg/$_pkgbasename-$pkgver.tar.gz) -md5sums=('5a9fcabc9a1b7c6f1cd75ddc78f36c56') - -build() { - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - - cd $srcdir/${_pkgbasename}-${pkgver} - ./configure --prefix=/usr --libdir=/usr/lib32 - make -} - -package() { - cd $srcdir/${_pkgbasename}-${pkgver} - - make DESTDIR=$pkgdir install - - rm -rf "$pkgdir"/usr/{share,bin} - find "$pkgdir"/usr/include/ogg -type f -not -name config_types.h -delete - mv "$pkgdir"/usr/include/ogg/config_types{,-32}.h - mkdir -p "$pkgdir/usr/share/licenses" - ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" -} |