summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/debootstrap/PKGBUILD15
1 files changed, 14 insertions, 1 deletions
diff --git a/libre/debootstrap/PKGBUILD b/libre/debootstrap/PKGBUILD
index 02167ab2a..1df277ddb 100644
--- a/libre/debootstrap/PKGBUILD
+++ b/libre/debootstrap/PKGBUILD
@@ -7,20 +7,25 @@
pkgname=debootstrap
pkgver=1.0.110
pkgrel=1
-pkgrel+=.par1
+pkgrel+=.par2
+_pureospkgver=1.0.108
+_pureospkgrel=pureos1
pkgdesc="Bootstrap a basic gNewSense and Trisquel system, without Debian support"
arch=(any)
license=(GPL)
url="https://tracker.debian.org/pkg/debootstrap"
depends=(wget binutils)
source=("$pkgname-$pkgver.tar.gz::https://github.com/felixonmars/debootstrap/archive/$pkgver.tar.gz"
+ "https://repo.puri.sm/pureos/pool/main/d/debootstrap/debootstrap_$_pureospkgver$_pureospkgrel.tar.gz"
arch-detect.patch
debootstrap.8
gnewsense
trisquel)
optdepends=('gnupg: check release signatures'
+ 'pureos-archive-keyring: check PureOS release signatures'
'trisquel-keyring: check Trisquel release signatures')
sha512sums=('e687bd3ca43f41f2f2d196b1519e6a7cc3a3e63d9b2e50c808a7508ff90aece4499d61f613a872325df27e44b723e9157a27f85f0e0aa355e49017f84bbb1561'
+ '0eccd31d4dea343ba64dab4948da5d2de519773dfe37c8a16755f5a8bb5fc6278840ec20113629d899745c69eef694e4c8e24918e8d2c375253eb2a6eb9acfcd'
'56e25f48027f99f7e720859a9e14fe769b1cbd6227c7a7e27e14c2fea88520109342d6e5b127dc34ce8cc40f46941a0c5157ad35cf8ef9b3e4323877a4b32d97'
'0b3507756b8f29d19146df3201143ccbd71cfd1f7ef865d184079180612b90c046cabab59fe42d246bfe476ae8fd5c43e81ee2fc3ee06bbc1fc3e75d9f1382ca'
'968ef005bf1f399b3400080b2ba65f1b32c067c49faadc1caa7ee524a85980f0a6625c7b06838e01bbd8b99a496492da77a38f0e17f0a81fc029ee611fe639b6'
@@ -57,6 +62,9 @@ prepare() {
# Add gNewSense script
install -m644 $srcdir/gnewsense scripts
+ # Add PureOS script
+ install -m644 $srcdir/debootstrap-$_pureospkgver$_pureospkgrel/scripts/green scripts/pureos
+
# Add Trisquel script
install -m644 $srcdir/trisquel scripts
@@ -67,6 +75,11 @@ prepare() {
ln -s gnewsense ucclia
ln -s gnewsense parkes
+ # Create PureOS symlinks
+ ln -s pureos green
+ ln -s pureos landing
+ ln -s pureos purple
+
# Create Trisquel symlinks
ln -s trisquel awen
ln -s trisquel belenos