updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / lib-compat / PKGBUILD
blob8810ac3ed257abc52d374ae6e2242fdd1c83e1b7
1 # Maintainer: josephgbr <rafael.f.f1 at gmail.com>
2 # Contributor: Clement Siuchung Cheung <clement.cheung@umich.edu>
4 pkgname=lib-compat
5 pkgver=1.4.2
6 pkgrel=1
7 pkgdesc="Gentoo lib compat for old programs only available in binary"
8 arch=('i686' 'x86_64')
9 url="http://www.gentoo.org/"
10 license=('GPL2')
11 source=(http://distfiles.gentoo.org/distfiles/${pkgname}-${pkgver}.tar.bz2)
12 md5sums=('62b82bef44dd426dc8569a8d02a46477')
14 package() {
15   cd "${srcdir}/${pkgname}-${pkgver}/x86"
16   
17   if [ $CARCH == x86_64 ]; then
18      local _installdir="${pkgdir}/lib32/"
19   else # i686
20      local _installdir="${pkgdir}/lib/"
21   fi
22   
23   install -dm755 "$_installdir"
24   install * "$_installdir"