summaryrefslogtreecommitdiff
path: root/nonsystemd/mkinitcpio-paralogo/PKGBUILD
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-01-01 08:23:20 -0500
committerbill-auger <mr.j.spam.me@gmail.com>2020-01-01 08:58:59 -0500
commit795cd872e25df235d666d1a15e0b29e448ae0006 (patch)
tree14057db9013a9e105ed4ca047c736633a92388b3 /nonsystemd/mkinitcpio-paralogo/PKGBUILD
parent2d147b1706fae26a9163da0494a11555bcf9da44 (diff)
downloadabslibre-795cd872e25df235d666d1a15e0b29e448ae0006.tar.gz
abslibre-795cd872e25df235d666d1a15e0b29e448ae0006.tar.bz2
abslibre-795cd872e25df235d666d1a15e0b29e448ae0006.zip
[mkinitcpio-paralogo]: re-work for nonsystemd
Diffstat (limited to 'nonsystemd/mkinitcpio-paralogo/PKGBUILD')
-rw-r--r--nonsystemd/mkinitcpio-paralogo/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/nonsystemd/mkinitcpio-paralogo/PKGBUILD b/nonsystemd/mkinitcpio-paralogo/PKGBUILD
new file mode 100644
index 000000000..2aa0b4835
--- /dev/null
+++ b/nonsystemd/mkinitcpio-paralogo/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=mkinitcpio-paralogo
+pkgver=0.0.2
+pkgrel=1
+pkgdesc="Add colored Parabola Linux ASCII art logo to early boot process"
+arch=('any')
+url=https://git.parabola.nu/mkinitcpio-paralogo.git/
+license=('GPL')
+
+depends=('mkinitcpio')
+makedepends=('git')
+backup=('etc/paralogo.conf')
+install=mkinitcpio-paralogo.install
+source=(git+https://git.parabola.nu/mkinitcpio-paralogo.git#tag=${pkgver})
+
+sha256sums=('SKIP')
+
+
+package()
+{
+ cd "${srcdir}"/mkinitcpio-paralogo/
+
+ # install hook for plain old script based initramfs
+ install -m0755 -d "${pkgdir}"/usr/lib/initcpio/hooks/
+ install -m0755 hook/paralogo "${pkgdir}"/usr/lib/initcpio/hooks/
+
+ # install config
+ install -m0755 -d "${pkgdir}"/etc/
+ install -m0644 etc/paralogo.conf "${pkgdir}"/etc/
+
+ # install logos
+ install -m0755 -d "${pkgdir}"/usr/share/paralogo/
+ install -m0644 share/paralogo "${pkgdir}"/usr/share/paralogo/
+ install -m0644 share/paralogo2 "${pkgdir}"/usr/share/paralogo/
+ install -m0644 share/paralogo3 "${pkgdir}"/usr/share/paralogo/
+ install -m0644 share/paralogo4 "${pkgdir}"/usr/share/paralogo/
+ install -m0644 share/paralogo5 "${pkgdir}"/usr/share/paralogo/
+
+ # install README
+ install -m0755 -d "${pkgdir}"/usr/share/doc/paralogo/
+ install -m0644 README.md "${pkgdir}"/usr/share/doc/paralogo/
+}