summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/mkinitcpio-paralogo/PKGBUILD49
-rw-r--r--pcr/mkinitcpio-paralogo/README.md4
-rwxr-xr-xpcr/mkinitcpio-paralogo/etc/paralogo.conf3
-rwxr-xr-xpcr/mkinitcpio-paralogo/hook/paralogo7
-rwxr-xr-xpcr/mkinitcpio-paralogo/install/paralogo30
-rw-r--r--pcr/mkinitcpio-paralogo/install/paralogo~works17
-rw-r--r--pcr/mkinitcpio-paralogo/license9
-rw-r--r--pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install15
-rw-r--r--pcr/mkinitcpio-paralogo/parablogo.service12
-rwxr-xr-xpcr/mkinitcpio-paralogo/share/paralogo11
-rwxr-xr-xpcr/mkinitcpio-paralogo/share/paralogo219
-rwxr-xr-xpcr/mkinitcpio-paralogo/share/paralogo315
-rw-r--r--pcr/mkinitcpio-paralogo/share/paralogo411
-rwxr-xr-xpcr/mkinitcpio-paralogo/systemd/paralogo.service12
-rw-r--r--pcr/pacman2pacman/PKGBUILD2
-rw-r--r--pcr/pacman2pacman/PKGBUILD.save29
16 files changed, 244 insertions, 1 deletions
diff --git a/pcr/mkinitcpio-paralogo/PKGBUILD b/pcr/mkinitcpio-paralogo/PKGBUILD
new file mode 100644
index 000000000..1c857c0f8
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=mkinitcpio-paralogo
+pkgver=0.r21.g650857a
+pkgrel=1
+pkgdesc="Add colored Parabola Linux ASCII art logo to early boot process"
+arch=('any')
+url="https://github.com/XL04D/mkinitcpio-paralogo"
+depends=('mkinitcpio')
+makedepends=('git')
+license=('GPL')
+install=mkinitcpio-paralogo.install
+source=('git://github.com/XL04D/mkinitcpio-paralogo.git')
+backup=('etc/paralogo.conf')
+
+pkgver() {
+ cd mkinitcpio-paralogo/
+
+ if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then
+ echo "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG}).r$(git rev-list --count ${GITTAG}..).g$(git log -1 --format="%h")"
+ else
+ echo "0.r$(git rev-list --count master).g$(git log -1 --format="%h")"
+ fi
+}
+
+package() {
+ cd mkinitcpio-paralogo/
+
+ # install install script and unit file
+ install -D -m0644 install/paralogo ${pkgdir}/usr/lib/initcpio/install/paralogo
+ install -D -m0644 systemd/paralogo.service ${pkgdir}/usr/lib/systemd/system/paralogo.service
+
+ # install hook for plain old script based initramfs
+ install -D -m0755 hook/paralogo ${pkgdir}/usr/lib/initcpio/hooks/paralogo
+
+ # install config
+ install -D -m0644 etc/paralogo.conf ${pkgdir}/etc/paralogo.conf
+
+ # install logos
+ install -D -m0644 share/paralogo ${pkgdir}/usr/share/paralogo/paralogo
+ install -D -m0644 share/paralogo2 ${pkgdir}/usr/share/paralogo/paralogo2
+ install -D -m0644 share/paralogo3 ${pkgdir}/usr/share/paralogo/paralogo3
+
+}
+
+sha256sums=('SKIP')
+sha256sums=('SKIP')
+sha256sums=('SKIP')
+sha256sums=('SKIP')
diff --git a/pcr/mkinitcpio-paralogo/README.md b/pcr/mkinitcpio-paralogo/README.md
new file mode 100644
index 000000000..6fb375dc1
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/README.md
@@ -0,0 +1,4 @@
+mkinitcpio-paralogo
+===================
+
+Had the Parabola logo to your system on start
diff --git a/pcr/mkinitcpio-paralogo/etc/paralogo.conf b/pcr/mkinitcpio-paralogo/etc/paralogo.conf
new file mode 100755
index 000000000..ec8c09ae8
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/etc/paralogo.conf
@@ -0,0 +1,3 @@
+# ASCII Parabola Logo on bootup
+
+PARALOGO="paralogo"
diff --git a/pcr/mkinitcpio-paralogo/hook/paralogo b/pcr/mkinitcpio-paralogo/hook/paralogo
new file mode 100755
index 000000000..a56ab0a78
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/hook/paralogo
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+run_earlyhook() {
+ source /etc/paralogo.conf
+ cd /usr/share/paralogo/
+ cat "${PARALOGO}"
+}
diff --git a/pcr/mkinitcpio-paralogo/install/paralogo b/pcr/mkinitcpio-paralogo/install/paralogo
new file mode 100755
index 000000000..d1f5d2118
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/install/paralogo
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+build() {
+ source /etc/paralogo.conf
+ add_file /etc/paralogo.conf
+ add_file "/usr/share/paralogo/${PARALOGO}"
+ if add_systemd_unit paralogo.service 2>/dev/null; then
+ add_symlink "/usr/lib/systemd/system/sysinit.target.wants/paralogo.service" "../paralogo.service"
+ else
+ add_runscript
+ systemctl enable paralogo.service
+ fi
+}
+#mkinitcpio() {
+# source /etc/mkinitcpio.conf
+# add_text /etc/mkinitcpio.conf
+# if add_text paralogo 2>/dev/null; then
+# add_text sed -e 's|^_d_hooks=.*|_d_hooks=/etc/mkinitcpio.conf:HOOK="paralogo"'
+# add_runscript
+# mkinitcpio -p linux-libre
+# else
+# add_runscript
+# mkinitcpio -p linux-libre
+# fi
+#}
+
+
+help() {
+ echo "This hook adds an Parabola Linux logo to the boot process."
+}
diff --git a/pcr/mkinitcpio-paralogo/install/paralogo~works b/pcr/mkinitcpio-paralogo/install/paralogo~works
new file mode 100644
index 000000000..e927966aa
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/install/paralogo~works
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+build() {
+ source /etc/paralogo.conf
+ add_file /etc/paralogo.conf
+ add_file "/usr/share/paralogo/${PARALOGO}"
+ if add_systemd_unit paralogo.service 2>/dev/null; then
+ add_symlink "/usr/lib/systemd/system/sysinit.target.wants/paralogo.service" "../paralogo.service"
+ else
+ add_runscript
+ systemctl enable paralogo.service
+ fi
+}
+
+help() {
+ echo "This hook adds an Parabola Linux logo to the boot process."
+}
diff --git a/pcr/mkinitcpio-paralogo/license b/pcr/mkinitcpio-paralogo/license
new file mode 100644
index 000000000..03ef6c673
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/license
@@ -0,0 +1,9 @@
+ mkinitcpio-paralogo is to had Parabola GNU / Linux-libre logo on boot system.
+ Aurélien DESBRIÈRES aurelien(at)hackers(dot)camp
+
+ It is a fork (rewrited/rebranded for Parabola GNU / Linux-libre)
+ of https://aur.archlinux.org/packages/mkinitcpio-archlogo
+ which is GPL.
+
+ See https://www.gnu.org/licenses/gpl
+
diff --git a/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install b/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
new file mode 100644
index 000000000..1c93b4b20
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+post_install() {
+ sed -e "/^HOOKS=/s/paralogo//" /etc/mkinitcpio.conf
+ mkinitcpio -p linux-libre
+# echo " > Now add 'paralogo' to your HOOKS array in /etc/mkinitcpio.conf"
+# echo " > and rebuild initial ramdisk with # mkinitcpio -p linux-libre"
+# echo " > You can put your own artwork in /usr/share/paralogo/ and select"
+# echo " > a non-default one in /etc/paralogo.conf."
+}
+
+post_remove() {
+ sed -i "/^HOOKS=/s/paralogo//" /etc/mkinitcpio.conf
+ mkinitcpio -p linux-libre
+}
diff --git a/pcr/mkinitcpio-paralogo/parablogo.service b/pcr/mkinitcpio-paralogo/parablogo.service
new file mode 100644
index 000000000..e0c3e42d0
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/parablogo.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Paralogo
+DefaultDependencies=no
+Before=sysinit.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+StandardOutput=tty
+EnvironmentFile=/etc/paralogo.conf
+WorkingDirectory=/usr/share/paralogo
+ExecStart=/usr/bin/cat "${PARALOGO}"
diff --git a/pcr/mkinitcpio-paralogo/share/paralogo b/pcr/mkinitcpio-paralogo/share/paralogo
new file mode 100755
index 000000000..1e55d1ebb
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/share/paralogo
@@ -0,0 +1,11 @@
+
+ # ## ____ _ _
+ # # #### / _ \ __ _ _ __ ___ _| |_ ___ | | __ _
+ # # ###### | |_) / _` | '__/ _ ` | '_ \ / _ \| |/ _` |
+ ## ##### | __| (_| | | | (_| | |_| | |_| | | (_| |
+ # ##### | | \__,_|_| \___,_|_,__/ \___/|_|\__,_|
+ #### |_|
+ ###
+ ###
+ ## Make it simple and flexible.
+ #
diff --git a/pcr/mkinitcpio-paralogo/share/paralogo2 b/pcr/mkinitcpio-paralogo/share/paralogo2
new file mode 100755
index 000000000..5ca90c20c
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/share/paralogo2
@@ -0,0 +1,19 @@
+
+ ## ###
+ ## ## #####
+ ## ## ## #######
+ # ## ## ## ########
+ ### # #########
+ ### ######### Parabola GNU / Linux-libre
+ ## ######## Make it Simple, Flexible!
+ #######
+ ######
+ ######
+ #####
+ #####
+ ####
+ ####
+ ###
+ ###
+ ##
+ #
diff --git a/pcr/mkinitcpio-paralogo/share/paralogo3 b/pcr/mkinitcpio-paralogo/share/paralogo3
new file mode 100755
index 000000000..bda356c22
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/share/paralogo3
@@ -0,0 +1,15 @@
+ 
+ ███
+ ██ ███ ██ ████
+ ██ ███ ███ ████ ███
+███ ███ ██ ███████ ███ ███ ███████ ███████ █████ ████ ███████
+ ████ ██ ███ ███ ███ ██ ████ ███ ████ ██ ████ ██ ███ ███ ███
+ █████ ████ ████ ███ ███ ████ ███ ███████ ██ ████ ███ ████
+ ████ ███ ███ ███ ███ ███ ███ ██ ███ ███ ███ ███ ███
+ ███ ███ ████ ████ ███ ████ ████ ██ ███ ███ ███ ████ ████
+ ████ ████ ████ ███ ████ ████ █████ █████ █████ ████ ████
+
+
+
+Parabola equals software freedom plus all power to the users
+  \ No newline at end of file
diff --git a/pcr/mkinitcpio-paralogo/share/paralogo4 b/pcr/mkinitcpio-paralogo/share/paralogo4
new file mode 100644
index 000000000..7b0852b8a
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/share/paralogo4
@@ -0,0 +1,11 @@
+
+ # ## ____ _ _
+ # # #### / _ \ __ _ _ __ ___ _| |_ ___ | | __ _
+ # # ###### | |_) / _` | '__/ _ ` | '_ \ / _ \| |/ _` |
+ ## ##### | __| (_| | | | (_| | |_| | |_| | | (_| |
+ # ##### | | \__,_|_| \___,_|_,__/ \___/|_|\__,_|
+ #### |_|
+ ###
+ ###
+ ## Make it simple and flexible.
+ #
diff --git a/pcr/mkinitcpio-paralogo/systemd/paralogo.service b/pcr/mkinitcpio-paralogo/systemd/paralogo.service
new file mode 100755
index 000000000..e0c3e42d0
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/systemd/paralogo.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Paralogo
+DefaultDependencies=no
+Before=sysinit.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+StandardOutput=tty
+EnvironmentFile=/etc/paralogo.conf
+WorkingDirectory=/usr/share/paralogo
+ExecStart=/usr/bin/cat "${PARALOGO}"
diff --git a/pcr/pacman2pacman/PKGBUILD b/pcr/pacman2pacman/PKGBUILD
index 7e4b63312..43940a64d 100644
--- a/pcr/pacman2pacman/PKGBUILD
+++ b/pcr/pacman2pacman/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Joseph Graham <joseph@t67.eu>
pkgname=pacman2pacman
-pkgver=1.5.1
+pkgver=1.5.3
pkgrel=1
pkgdesc="A plugin for pactor to download packages by bittorrent and seed them back up"
arch=(any)
diff --git a/pcr/pacman2pacman/PKGBUILD.save b/pcr/pacman2pacman/PKGBUILD.save
new file mode 100644
index 000000000..d470b95fe
--- /dev/null
+++ b/pcr/pacman2pacman/PKGBUILD.save
@@ -0,0 +1,29 @@
+Maintainer: Joseph Graham <joseph@t67.eu>
+pkgname=pacman2pacman
+pkgver=1.5.2
+pkgrel=1
+pkgdesc="A plugin for pactor to download packages by bittorrent and seed them back up"
+arch=(any)
+url="https://wiki.parabolagnulinux.org/Pacman2pacman"
+license=('GPL')
+depends=(transmission-cli)
+options=(emptydirs)
+install=$pkgname.install
+source=(https://t67.eu/filebin/$pkgname-$pkgver.tar.gz)
+md5sums=('736eb3d6d557030f733b4b3f4e08c2be')
+
+package() {
+ cd $pkgname
+
+ mkdir -p "${pkgdir}/srv/pacman2pacman/torrents"
+
+ mkdir -p "${pkgdir}/srv/pacman2pacman/dbcache"
+
+ chown -R transmission "${pkgdir}/srv/pacman2pacman/"
+
+ mkdir -p "${pkgdir}/usr/bin"
+
+ cp pacman2pacman-get "${pkgdir}/usr/bin"
+
+ chmod +x "${pkgdir}/usr/bin/pacman2pacman-get"
+}