PKGBUILD updated

pull/1/head
xor 2015-10-05 00:24:09 +02:00
parent 017210ebbb
commit d41192c74a
1 changed files with 13 additions and 6 deletions

View File

@ -1,24 +1,31 @@
# Maintainer: xo <xo@rotce.de> # Maintainer: xor <xor@rotce.de>
pkgname=hashboot-git pkgname=hashboot-git
pkgver=0.7.4 pkgver=0.7.6
pkgrel=2 pkgrel=2
pkgdesc="A utility to check at boottime befor network, if /boot or mbr were manipulated." 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" url="https://git.tastytea.de/?p=hashboot.git;a=summary"
license=('custom:"hugware"') 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') conflicts=('chkboot' 'mkinitcpio-chkcryptoboot')
depends=('bash' 'coreutils' 'tar' 'which' 'grep' 'gawk' 'util-linux' 'gzip') backup=('etc/hashboot.cfg')
install=('hashboot.install') install=('hashboot.install')
source=(git+git://git.tastytea.de/repositories/hashboot.git) source=(git+git://git.tastytea.de/repositories/hashboot.git)
md5sums=('SKIP') md5sums=('SKIP')
build() {
cd "${srcdir}/hashboot"
sed 's/xfer/ne/g' ${srcdir}/hashboot/hashboot > ${srcdir}/hashboot/hashboot.tmp
}
package() { package() {
msg "Copy files" msg "Copy files"
cd "$srcdir/hashboot" cd "${srcdir}/hashboot"
install -m755 -d "${pkgdir}/usr/lib/systemd/system/" install -m755 -d "${pkgdir}/usr/lib/systemd/system/"
install -Dm644 initscript.systemd "${pkgdir}/usr/lib/systemd/system/hashboot.service" install -Dm644 initscript.systemd "${pkgdir}/usr/lib/systemd/system/hashboot.service"
install -Dm755 hashboot "${pkgdir}/usr/bin/hashboot" install -Dm755 hashboot "${pkgdir}/usr/bin/hashboot"
install -Dm755 hashboot.tmp "${pkgdir}/usr/bin/hashboot"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/HUGWARE" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/HUGWARE"
} }