hashboot/PKGBUILD

25 lines
831 B
Bash
Raw Normal View History

2015-10-03 23:56:56 +02:00
# Maintainer: xo <xo@rotce.de>
2015-10-03 20:19:30 +02:00
pkgname=hashboot-git
pkgver=0.7.4
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=('')
conflicts=('chkboot' 'mkinitcpio-chkcryptoboot')
2015-10-03 23:56:56 +02:00
depends=('bash' 'coreutils' 'tar' 'which' 'grep' 'gawk' 'util-linux' 'gzip')
2015-10-03 20:19:30 +02:00
#makedepends=('')
source=(git+git://git.tastytea.de/repositories/hashboot.git)
md5sums=('SKIP')
package() {
msg "Copy files"
cd "$srcdir/hashboot"
2015-10-03 23:56:56 +02:00
install -m755 -d "${pkgdir}/usr/lib/systemd/system/"
2015-10-03 20:19:30 +02:00
install -Dm644 initscript.systemd "${pkgdir}/usr/lib/systemd/system/hashboot.service"
2015-10-03 23:58:44 +02:00
install -Dm755 hashboot "${pkgdir}/usr/bin/hashboot"
2015-10-03 20:19:30 +02:00
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/HUGWARE"
}