Add few packages

This commit is contained in:
moparisthebest
2018-02-06 22:58:58 -05:00
parent 6d3d9c4434
commit aab7755bcb
9 changed files with 252 additions and 2 deletions
+27
View File
@@ -0,0 +1,27 @@
# Maintainer: Chris Magyar <c.magyar.ec@gmail.com>
pkgname=ramroot
pkgver=1.1.8
pkgrel=1
pkgdesc="Load root filesystem completely to RAM during boot"
arch=('any')
url="https://github.com/arcmags/$pkgname"
license=('GPL')
depends=('sudo')
conflicts=('liveroot')
install=ramroot.install
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
md5sums=('9412771e7ba0736c37d87f05c28abe24')
package() {
cd "$pkgname-$pkgver"
install -D -m644 ./lib/etc/issue \
"$pkgdir/usr/lib/ramroot/etc/issue"
install -D -m644 ./lib/hooks/ramroot \
"$pkgdir/usr/lib/ramroot/hooks/ramroot"
install -D -m644 ./lib/install/ramroot \
"$pkgdir/usr/lib/ramroot/install/ramroot"
install -D -m755 ./ramroot \
"$pkgdir/usr/bin/ramroot"
install -D -m644 ./lib/man/ramroot.8 \
"$pkgdir/usr/share/man/man8/ramroot.8"
}
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
# ensure ramroot is fully removed before uninstalling:
pre_remove() {
/usr/bin/ramroot remove
}