summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-09-03 11:51:07 -0400
committerDavid P <megver83@parabola.nu>2020-09-03 11:51:07 -0400
commitfd6ac4fb944f312c2e4a6f325d97f020fad1851b (patch)
tree3ad572d18fb3edfd81604e8d7cccdeda3dc794f8
parent569397db5bac7f0a5614fcbe858c778f257bd019 (diff)
downloadabslibre-fd6ac4fb944f312c2e4a6f325d97f020fad1851b.tar.gz
abslibre-fd6ac4fb944f312c2e4a6f325d97f020fad1851b.tar.bz2
abslibre-fd6ac4fb944f312c2e4a6f325d97f020fad1851b.zip
addpkg: pcr/parabolaiso-git v47.1.r9.70d3bf36-1
Signed-off-by: David P <megver83@parabola.nu>
-rw-r--r--pcr/parabolaiso-git/PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/pcr/parabolaiso-git/PKGBUILD b/pcr/parabolaiso-git/PKGBUILD
new file mode 100644
index 000000000..2c828513b
--- /dev/null
+++ b/pcr/parabolaiso-git/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer (Arch): David Runge <dvzrv@archlinux.org>
+# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de>
+# Contributor (Arch): Gerardo Exequiel Pozzi <djgera@archlinux.org>
+# Maintainer: David P. <megver83@parabola.nu>
+# Contributor: André Silva <emulatorman@hyperbola.info>
+
+pkgbase=parabolaiso-git
+_pkgbase=parabolaiso
+pkgname=(parabolaiso-git mkinitcpio-parabolaiso-git)
+pkgver=v47.1.r9.70d3bf36
+pkgrel=1
+pkgdesc='Tools for creating Parabola GNU/Linux-libre live and install iso images'
+arch=('any')
+license=('GPL3')
+url='https://git.parabola.nu/parabolaiso.git/'
+makedepends=('git')
+_commit=70d3bf3
+source=("git+https://git.parabola.nu/packages/parabolaiso.git#commit=${_commit}?signed")
+sha256sums=('SKIP')
+validpgpkeys=(6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78) # David P.
+
+pkgver() {
+ cd "${_pkgbase}"
+ printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+}
+
+package_parabolaiso-git() {
+ depends=('arch-install-scripts' 'bash' 'dosfstools' 'e2fsprogs' 'libisoburn'
+ 'squashfs-tools')
+ optdepends=('edk2-ovmf: for emulating UEFI with run_parabolaiso'
+ 'qemu: for run_parabolaiso')
+ provides=("archiso-git=$pkgver" 'parabolaiso')
+ conflicts=('archiso-git' 'parabolaiso')
+ replaces=('archiso-git')
+ cd "${_pkgbase}"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_mkinitcpio-parabolaiso-git() {
+ pkgdesc='Mkinitcpio hooks and scripts for parabolaiso'
+ depends=('mkinitcpio')
+ provides=("mkinitcpio-archiso-git=$pkgver" 'mkinitcpio-parabolaiso')
+ conflicts=('mkinitcpio-archiso-git' 'mkinitcpio-parabolaiso')
+ replaces=('mkinitcpio-archiso-git')
+ cd "${_pkgbase}"
+ make DESTDIR="${pkgdir}" install-initcpio
+}