Added Calamares Parch"
This commit is contained in:
parent
a226906b6b
commit
5bde49eac0
1 changed files with 43 additions and 0 deletions
43
base/calamares-parch/PKGBUILD
Normal file
43
base/calamares-parch/PKGBUILD
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Maintainer: Sohrab Behdani <behdanisohrab@gmail.com>
|
||||
|
||||
pkgname=('calamares-parch' 'calamares-parch-gnome' 'calamares-parch-beta')
|
||||
pkgver=5
|
||||
pkgrel=0
|
||||
arch=('any')
|
||||
url="https://parchlinux.com"
|
||||
license=('GPL')
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgbase=calamares-parch
|
||||
_gitrepo="git+https://git.parchlinux.com/settings/calamares-parch.git"
|
||||
|
||||
prepare() {
|
||||
for branch in main gnome systemd-boot-btrfs; do
|
||||
git clone --branch $branch $_gitrepo ${pkgbase}-$branch
|
||||
done
|
||||
}
|
||||
|
||||
package_calamares-parch() {
|
||||
pkgdesc="Calamares installer for ParchLinux (Main branch)"
|
||||
|
||||
cd "${srcdir}/${pkgbase}-main"
|
||||
install -dm755 "$pkgdir/etc/calamares"
|
||||
cp -r etc/calamares/* "$pkgdir/etc/calamares/"
|
||||
}
|
||||
|
||||
package_calamares-parch-gnome() {
|
||||
pkgdesc="Calamares installer for ParchLinux (GNOME branch)"
|
||||
|
||||
cd "${srcdir}/${pkgbase}-gnome"
|
||||
install -dm755 "$pkgdir/etc/calamares"
|
||||
cp -r etc/calamares/* "$pkgdir/etc/calamares/"
|
||||
}
|
||||
|
||||
package_calamares-parch-beta() {
|
||||
pkgdesc="Calamares installer for ParchLinux (Beta branch)"
|
||||
|
||||
cd "${srcdir}/${pkgbase}-systemd-boot-btrfs"
|
||||
install -dm755 "$pkgdir/etc/calamares"
|
||||
cp -r etc/calamares/* "$pkgdir/etc/calamares/"
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue