summaryrefslogtreecommitdiff
path: root/pcr/debootstrap/PKGBUILD
blob: 6fbb73cae26461e10f8799560e64f80d287a1dc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $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')
optdepends=( 'gnewsense-archive-keyring: checking gNewSense release signatures'
             'gnupg1:  checking gNewSense release signatures' )
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"
}