summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Frederick Eick2017-08-28 00:51:08 +0200
committerJan Frederick Eick2017-08-28 00:54:58 +0200
commitc7c192a877f41b2185dd65482bc9ea99f4204dda (patch)
treeee47f025217add786c10907b36ebd3264b4890e4
downloadaur-beefi.tar.gz
Updated manual and usage
add beefi.install
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD37
-rw-r--r--beefi.install11
3 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b80e3e54041
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = beefi
+ pkgdesc = a bootable EFISTUB kernel image creator (for UEFI systems)
+ pkgver = 0.2
+ pkgrel = 1
+ url = https://github.com/jfeick/beefi.git
+ install = beefi.install
+ arch = any
+ license = GPL
+ depends = binutils
+ provides = beefi
+ conflicts = beefi
+ backup = etc/beefi/beefi.conf
+ backup = etc/pacman.d/hooks/beefi.hook
+ source = https://github.com/jfeick/beefi/archive/beefi-0.2.tar.gz
+ md5sums = 9d421754a4bba5f504d0de7e870e48f2
+
+pkgname = beefi
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2639bcf6d17
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+
+# Maintainer: Jan Frederick Eick <jan-frederick.eick@uni-weimar.de>
+pkgname=beefi
+pkgver=0.2
+pkgrel=1
+pkgdesc="a bootable EFISTUB kernel image creator (for UEFI systems)"
+arch=(any)
+url="https://github.com/jfeick/beefi.git"
+license=('GPL')
+groups=()
+depends=("binutils")
+makedepends=()
+provides=("${pkgname%}")
+conflicts=("${pkgname%}")
+replaces=()
+backup=('etc/beefi/beefi.conf' 'etc/pacman.d/hooks/beefi.hook')
+options=()
+install=beefi.install
+source=("https://github.com/jfeick/beefi/archive/$pkgname-$pkgver.tar.gz")
+noextract=()
+md5sums=('9d421754a4bba5f504d0de7e870e48f2')
+
+
+prepare() {
+ cd "$srcdir/${pkgname%}-${pkgname%}-${pkgver%}"
+}
+
+
+package() {
+ cd "$srcdir/${pkgname%}-${pkgname%}-${pkgver%}"
+ install -D -g 0 -o 0 -m 755 beefi "${pkgdir}/usr/bin/beefi"
+ install -D -g 0 -o 0 -m 0644 beefi.1 "${pkgdir}/usr/share/man/man1/beefi.1"
+ gzip "${pkgdir}/usr/share/man/man1/beefi.1"
+ install -D -g 0 -o 0 -m 0644 beefi.conf "${pkgdir}/etc/beefi/beefi.conf"
+ install -D -g 0 -o 0 -m 0644 beefi.hook "${pkgdir}/etc/pacman.d/hooks/beefi.hook"
+}
+
diff --git a/beefi.install b/beefi.install
new file mode 100644
index 00000000000..b713dfaef9b
--- /dev/null
+++ b/beefi.install
@@ -0,0 +1,11 @@
+post_upgrade() {
+ echo "--------------------------------------------------------------------------"
+ echo "Attention! Please check /etc/beefi/beefi.conf and etc/pacman.d/hooks/beefi.hook and adjust the files to your kernel package (e.g. linux, linux-ck, ...)"
+ echo "--------------------------------------------------------------------------"
+}
+
+post_install() {
+ echo "--------------------------------------------------------------------------"
+ echo "Please check /etc/beefi/beefi.conf and etc/pacman.d/hooks/beefi.hook and adjust the files to your kernel package (e.g. linux, linux-ck, ...)"
+ echo "--------------------------------------------------------------------------"
+}