# $Id: PKGBUILD 23611 2009-01-11 14:09:50Z thomas $
# Maintainer: Aaron Griffin <aaron@archlinux.org>

pkgname=klibc-extras
pkgver=2.5
pkgrel=30
pkgdesc="Extra apps for klibc early-userspace"
arch=(i686 x86_64)
url="http://projects.archlinux.org/?p=klibc-extras.git"
license=('GPL')
groups=('base')
depends=('klibc' $(basename /lib/klibc-*.so .so))
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('edd16b1a558164db0107c7319a21f0d4')

build()
{
  cd $startdir/src/${pkgname}-${pkgver}

  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
  rm -f ${pkgdir}/usr/lib/klibc/bin/mknod
}