summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/parabolaiso/PKGBUILD29
1 files changed, 19 insertions, 10 deletions
diff --git a/libre/parabolaiso/PKGBUILD b/libre/parabolaiso/PKGBUILD
index 84235734a..ebbfb252f 100644
--- a/libre/parabolaiso/PKGBUILD
+++ b/libre/parabolaiso/PKGBUILD
@@ -4,25 +4,34 @@
# Maintainer: David P. <megver83@parabola.nu>
# Contributor: André Silva <emulatorman@hyperbola.info>
-pkgname=parabolaiso
-pkgver=45
+pkgbase=parabolaiso
+pkgname=(parabolaiso mkinitcpio-parabolaiso)
+pkgver=46
pkgrel=1
pkgdesc='Tools for creating Parabola GNU/Linux-libre live and install iso images'
arch=('any')
-license=('GPL')
+license=('GPL3')
url='https://projects.parabola.nu/parabolaiso.git/'
-depends=('arch-install-scripts' 'curl' 'dosfstools' 'edk2-shell' 'libisoburn'
-'lynx' 'mkinitcpio' 'squashfs-tools')
provides=("archiso=$pkgver")
conflicts=('archiso')
replaces=(${conflicts[@]})
source=("https://repo.parabola.nu/other/${pkgname}/${pkgname}-v${pkgver}.tar.gz"{,.sig})
-sha256sums=('ba4cc9e477f89756612d90ec36b6bac60eabb0fb9359d0471aa1816ac7ef5bad'
+sha256sums=('e17be487f4d103070ad6b0af09b376ac5f91d5de5c88090a1457d23dffe4a676'
'SKIP')
validpgpkeys=(6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78) # David P.
-package() {
- cd "${pkgname}-v${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+package_parabolaiso() {
+ depends=('arch-install-scripts' 'bash' 'dosfstools' 'e2fsprogs' 'libisoburn'
+ 'squashfs-tools')
+ optdepends=('edk2-ovmf: for emulating UEFI with run_archiso'
+ 'qemu: for run_parabolaiso')
+ cd "${pkgbase}-v${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_mkinitcpio-parabolaiso() {
+ pkgdesc='Mkinitcpio hooks and scripts for parabolaiso'
+ depends=('mkinitcpio')
+ cd "${pkgbase}-v${pkgver}"
+ make DESTDIR="${pkgdir}" install-initcpio
}