SHARE
TWEET

debootstrap PKGBUILD 1.0.40

a guest May 13th, 2012 63 Never
  1. # Contributor: Abakus <java5 at arcor dot de>
  2. pkgname=debootstrap
  3. pkgver=1.0.40
  4. pkgrel=1
  5. pkgdesc="debootstrap is used to create a Debian base system from scratch, without requiring the availability of dpkg or apt"
  6. arch=('i686' 'x86_64')
  7. license=('GPL')
  8. url="http://packages.qa.debian.org/d/debootstrap.html"
  9. depends=( 'glibc' 'debian-archive-keyring' )
  10. source=("http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}_all.deb")
  11. md5sums=('6fbd913aa7db03d4637b47bb622bb503')
  12.  
  13. build(){
  14.   tar xzvf ${srcdir}/data.tar.gz -C ${pkgdir}/
  15.  
  16.   if test "$CARCH" == x86_64; then
  17.         darch="amd64"
  18.   else
  19.         darch="i386"
  20.   fi
  21.   echo "$darch" > ${pkgdir}/usr/share/debootstrap/arch
  22. }
RAW Paste Data
Top