summaryrefslogtreecommitdiff
path: root/pcr/debootstrap/PKGBUILD
blob: 9f03c48db468452fe7e85c4aae0bc36f3b7359a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id$
# Maintainer: André Silva <emulatorman@lavabit.com>

pkgname=debootstrap
pkgver=1.0.26
pkgrel=1
pkgdesc="A tool used to create a gNewSense base system from scratch, without requiring the availability of dpkg or apt"
arch=('any')
license=('GPL')
url="http://www.gnewsense.org"
depends=('bash' 'wget')
source=("http://archive.gnewsense.org/gnewsense-three/gnewsense/pool/overlays/parkes/kgoetz/${pkgname}/${pkgname}_${pkgver}+squeeze1+gnewsense1_all.deb") 
install="debootstrap.install"
md5sums=('2049317eac54c0fac6c3201a90fadc18')

build(){
  tar -xzf "${srcdir}/data.tar.gz" -C "${pkgdir}/"
  # doesn't work with gpg 2.x, patch to point to gpgv1
  sed 's/gpgv/gpgv1/g;' -i "${pkgdir}/usr/sbin/debootstrap" "${pkgdir}/usr/share/debootstrap/functions"
}