# $Id: PKGBUILD 197074 2013-10-21 15:42:46Z tpowa $
# Maintainer (Arch): Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=mkpxelinux
pkgver=2013.10
pkgrel=2.parabola1
pkgdesc="Advanced, modular network pxe boot image creation utility (Parabola rebranded)"
arch=(any)
license=('GPL')
url="https://parabolagnulinux.org/"
depends=('mkinitcpio' 'tftp-hpa' 'syslinux')
replaces=(${pkgname}-parabola)
conflicts=(${pkgname}-parabola)
backup=(etc/mkpxelinux.conf)
optdepends=('dhcp: for dhcp server usage')
source=('boot.msg' 'mkpxelinux' 'mkpxelinux.conf' 'options.msg')

package()
{
  cd "$srcdir/"
  install -D -m755 mkpxelinux "$pkgdir/usr/bin/mkpxelinux"
  install -D -m644 mkpxelinux.conf "$pkgdir/etc/mkpxelinux.conf"
  install -D -m644 boot.msg "$pkgdir/usr/share/mkpxelinux/boot.msg"
  install -D -m644 options.msg "$pkgdir/usr/share/mkpxelinux/options.msg"
}
md5sums=('7225e73bfe717f97bd7ab52f5ab157f6'
         '44c6b9fa8ae668a432f26adb9e70bd3f'
         '158dece3af889740b0f0ee397f9058ed'
         'ae0007d6679b5a575b2a9e5ac3664baf')
