summaryrefslogtreecommitdiff
path: root/pcr/debootstrap/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-22 10:52:18 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-22 10:52:18 -0400
commit908d987dd1dcd4899f8f7f0878514c22ca8048b7 (patch)
tree29bf5986774207c3453044e1f370fb98d2431265 /pcr/debootstrap/PKGBUILD
parent308bfb446305a96dffce945b6c4fb82b10d1b91b (diff)
parent8351d69e64a40d68fa32cfeea227b6fcf7afe974 (diff)
downloadabslibre-908d987dd1dcd4899f8f7f0878514c22ca8048b7.tar.gz
abslibre-908d987dd1dcd4899f8f7f0878514c22ca8048b7.tar.bz2
abslibre-908d987dd1dcd4899f8f7f0878514c22ca8048b7.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/debootstrap/PKGBUILD')
-rw-r--r--pcr/debootstrap/PKGBUILD44
1 files changed, 34 insertions, 10 deletions
diff --git a/pcr/debootstrap/PKGBUILD b/pcr/debootstrap/PKGBUILD
index 9f03c48db..e46a7d0b1 100644
--- a/pcr/debootstrap/PKGBUILD
+++ b/pcr/debootstrap/PKGBUILD
@@ -2,19 +2,43 @@
# Maintainer: André Silva <emulatorman@lavabit.com>
pkgname=debootstrap
-pkgver=1.0.26
+pkgver=1.0.48
pkgrel=1
-pkgdesc="A tool used to create a gNewSense base system from scratch, without requiring the availability of dpkg or apt"
+pkgdesc="A tool used to create a gNewSense or Trisquel 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")
+url="http://packages.debian.org/sid/debootstrap"
+depends=('wget')
+source=("http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}_all.deb"
+ 'metad'
+ 'trisquel')
install="debootstrap.install"
-md5sums=('2049317eac54c0fac6c3201a90fadc18')
+md5sums=('f75ae43204ed273c7a95c12a5a2f715a'
+ '4425300ca68d60fb60a6d699e153a519'
+ 'b020aa8426e70a6024c8e76312c17d78')
-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"
+package(){
+ tar -xzf "$srcdir/data.tar.gz" -C "$pkgdir/"
+
+ # doesn't work with gpg 2.x, patch to point to gpg1v
+ sed 's/gpgv/gpg1v/g;' -i "$pkgdir/usr/sbin/debootstrap" "$pkgdir/usr/share/debootstrap/functions"
+
+ # add gNewSense script
+ install -m644 metad "$pkgdir/usr/share/debootstrap/scripts"
+
+ # create gNewSense symlinks
+ ln -s metad "$pkgdir/usr/share/debootstrap/scripts/deltah"
+ ln -s metad "$pkgdir/usr/share/debootstrap/scripts/parkes"
+
+ # add Trisquel script
+ install -m644 trisquel "$pkgdir/usr/share/debootstrap/scripts"
+
+ # create Trisquel symlinks
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/awen"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/brigantia"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/dagda"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/dwyn"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/robur"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/slaine"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/taranis"
}