hashboot/PKGBUILD

32 lines
1.0 KiB
Bash
Raw Normal View History

2015-10-05 00:24:09 +02:00
# Maintainer: xor <xor@rotce.de>
2015-10-03 20:19:30 +02:00
pkgname=hashboot-git
2015-10-05 00:24:09 +02:00
pkgver=0.7.6
pkgrel=2
2015-10-03 20:19:30 +02:00
pkgdesc="A utility to check at boottime befor network, if /boot or mbr were manipulated."
2015-10-05 00:24:09 +02:00
arch=('any')
2015-10-03 20:19:30 +02:00
url="https://git.tastytea.de/?p=hashboot.git;a=summary"
2015-10-04 00:53:25 +02:00
license=('custom:"hugware"')
2015-10-05 00:24:09 +02:00
depends=('bash' 'coreutils' 'tar' 'which' 'grep' 'gawk' 'util-linux' 'diffutils' 'sed' )
makedepends=('git' 'sed')
2015-10-03 20:19:30 +02:00
conflicts=('chkboot' 'mkinitcpio-chkcryptoboot')
2015-10-05 00:24:09 +02:00
backup=('etc/hashboot.cfg')
2015-10-04 00:53:25 +02:00
install=('hashboot.install')
2015-10-03 20:19:30 +02:00
source=(git+git://git.tastytea.de/repositories/hashboot.git)
md5sums=('SKIP')
2015-10-05 00:24:09 +02:00
build() {
cd "${srcdir}/hashboot"
sed 's/xfer/ne/g' ${srcdir}/hashboot/hashboot > ${srcdir}/hashboot/hashboot.tmp
}
2015-10-03 20:19:30 +02:00
package() {
msg "Copy files"
2015-10-05 00:24:09 +02:00
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-05 00:24:09 +02:00
install -Dm755 hashboot.tmp "${pkgdir}/usr/bin/hashboot"
2015-10-03 20:19:30 +02:00
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/HUGWARE"
}