diff options
author | dorianpb | 2020-05-26 17:51:48 -0400 |
---|---|---|
committer | dorianpb | 2020-05-26 17:51:48 -0400 |
commit | e3de5c1cef19cc49e087498644e3e8abe2ff0a62 (patch) | |
tree | d2b7d5e666e7fba3f9e30ced5e4c00defcc0b02f | |
download | aur-e3de5c1cef19cc49e087498644e3e8abe2ff0a62.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rwxr-xr-x | PKGBUILD | 33 | ||||
-rw-r--r-- | makeuki.install | 8 | ||||
-rw-r--r-- | makeuki.tar.gz | bin | 0 -> 2051 bytes |
4 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5a41d6248235 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = makeuki + pkgdesc = A script that simplifies the creation of unified kernel images. + pkgver = v1.0 + pkgrel = 1 + install = makeuki.install + arch = any + license = GPL3 + depends = jq + depends = mkinitcpio + source = makeuki.tar.gz + sha256sums = 89a9ab5cde8c979f26fb797b5e66f53f944e0e4e1e14e86d8cc1a22fa4678bf3 + +pkgname = makeuki + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..27efff23726d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: dorianpb <dorian.peanut.butter@gmail.com> +pkgname='makeuki' +pkgver=v1.0 +pkgrel=1 +#epoch= +pkgdesc="A script that simplifies the creation of unified kernel images." +#url="" +license=('GPL3') +arch=('any') +groups=() +depends=('jq' 'mkinitcpio') +makedepends=() +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install="makeuki.install" +#changelog= +source=("makeuki.tar.gz") +noextract=() +sha256sums=('89a9ab5cde8c979f26fb797b5e66f53f944e0e4e1e14e86d8cc1a22fa4678bf3') + +package() { + cd "${srcdir}" + install -Dm755 makeuki.sh "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 makeuki.conf.default "${pkgdir}/etc/${pkgname}/makeuki.conf" + install -Dm755 makeuki.preset "${pkgdir}/etc/mkinitcpio.d/makeuki.preset" + install -Dm755 90-mkinitcpio-install.hook "${pkgdir}/etc/pacman.d/hooks/90-mkinitcpio-install.hook" + install -Dm755 ucode.hook "${pkgdir}/etc/pacman.d/hooks/ucode.hook" +} diff --git a/makeuki.install b/makeuki.install new file mode 100644 index 000000000000..5c0508e06840 --- /dev/null +++ b/makeuki.install @@ -0,0 +1,8 @@ +pre_install() { + mkdir /etc/mkinitcpio.d/old + mv -vf /etc/mkinitcpio.d/*.preset /etc/mkinitcpio.d/old +} +post_remove() { + mv -vf /etc/mkinitcpio.d/old/* /etc/mkinitcpio.d/ + rm -rf /etc/mkinitcpio.d/old +} diff --git a/makeuki.tar.gz b/makeuki.tar.gz Binary files differnew file mode 100644 index 000000000000..97798a10b738 --- /dev/null +++ b/makeuki.tar.gz |