# $Id: PKGBUILD 187120 2013-06-04 06:46:39Z tpowa $
# Maintainer (Arch): Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=mksyslinux
pkgver=2013.06
pkgrel=2.parabola1
pkgdesc="Advanced, modular syslinux boot image creation utility (Parabola rebranded)"
arch=(any)
license=('GPL')
url="https://parabolagnulinux.org/"
replaces=(${pkgname}-parabola)
conflicts=(${pkgname}-parabola)
depends=('mkinitcpio' 'syslinux' 'pciutils')
backup=(etc/mksyslinux.conf)
source=('boot.msg' 'mksyslinux' 'mksyslinux.conf' 'options.msg')

package()
{
  cd "$srcdir/"
  install -D -m755 mksyslinux "$pkgdir/usr/bin/mksyslinux"
  install -D -m644 mksyslinux.conf "$pkgdir/etc/mksyslinux.conf"
  install -D -m644 boot.msg "$pkgdir/usr/share/mksyslinux/boot.msg"
  install -D -m644 options.msg  "$pkgdir/usr/share/mksyslinux/options.msg"
}
md5sums=('e9836ac2bbb436ca3a13bfbe9cc5c19a'
         '0a9fd93356b5d98ab386f28bc849b808'
         'c702b0b41ae7f58e9b08b53f3b6b0961'
         'ae0007d6679b5a575b2a9e5ac3664baf')
