From 01da5715b6593c017d67e7ea8354c45a1e76e33f Mon Sep 17 00:00:00 2001 From: xor Date: Sun, 4 Oct 2015 00:53:25 +0200 Subject: [PATCH] Archlinux PKGBUILD/install added. --- PKGBUILD | 5 ++--- hashboot.install | 8 ++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 hashboot.install diff --git a/PKGBUILD b/PKGBUILD index 9e6841b..6f7870c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,11 +6,10 @@ pkgrel=1 pkgdesc="A utility to check at boottime befor network, if /boot or mbr were manipulated." arch=('i686' 'x86_64') url="https://git.tastytea.de/?p=hashboot.git;a=summary" -license=('custom:hugware') -#groups=('') +license=('custom:"hugware"') conflicts=('chkboot' 'mkinitcpio-chkcryptoboot') depends=('bash' 'coreutils' 'tar' 'which' 'grep' 'gawk' 'util-linux' 'gzip') -#makedepends=('') +install=('hashboot.install') source=(git+git://git.tastytea.de/repositories/hashboot.git) md5sums=('SKIP') diff --git a/hashboot.install b/hashboot.install new file mode 100644 index 0000000..5004e24 --- /dev/null +++ b/hashboot.install @@ -0,0 +1,8 @@ +post_install() { + echo "After install run 'hashboot index'." + echo "Run also 'systemctl enable hashboot.service' to enable." +} + +post_upgrade() { + post_install +}