From d41192c74aa8d9c9e51d69d44c39bdfe79351b65 Mon Sep 17 00:00:00 2001 From: xor Date: Mon, 5 Oct 2015 00:24:09 +0200 Subject: [PATCH] PKGBUILD updated --- PKGBUILD | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 59bf96b..8c516b8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,24 +1,31 @@ -# Maintainer: xo +# Maintainer: xor pkgname=hashboot-git -pkgver=0.7.4 +pkgver=0.7.6 pkgrel=2 pkgdesc="A utility to check at boottime befor network, if /boot or mbr were manipulated." -arch=('i686' 'x86_64') +arch=('any') url="https://git.tastytea.de/?p=hashboot.git;a=summary" license=('custom:"hugware"') -backup=('etc/hashboot.cfg') +depends=('bash' 'coreutils' 'tar' 'which' 'grep' 'gawk' 'util-linux' 'diffutils' 'sed' ) +makedepends=('git' 'sed') conflicts=('chkboot' 'mkinitcpio-chkcryptoboot') -depends=('bash' 'coreutils' 'tar' 'which' 'grep' 'gawk' 'util-linux' 'gzip') +backup=('etc/hashboot.cfg') install=('hashboot.install') source=(git+git://git.tastytea.de/repositories/hashboot.git) md5sums=('SKIP') +build() { + cd "${srcdir}/hashboot" + sed 's/xfer/ne/g' ${srcdir}/hashboot/hashboot > ${srcdir}/hashboot/hashboot.tmp +} + package() { msg "Copy files" - cd "$srcdir/hashboot" + cd "${srcdir}/hashboot" install -m755 -d "${pkgdir}/usr/lib/systemd/system/" install -Dm644 initscript.systemd "${pkgdir}/usr/lib/systemd/system/hashboot.service" install -Dm755 hashboot "${pkgdir}/usr/bin/hashboot" + install -Dm755 hashboot.tmp "${pkgdir}/usr/bin/hashboot" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/HUGWARE" }