# Maintainer: Natanael Copa pkgname=syslinux pkgver=4.04 pkgrel=7 pkgdesc="Boot loader for the Linux operating system" url="http://syslinux.org" arch="x86 x86_64" license="GPL" makedepends="nasm perl" depends="mtools blkid mkinitfs" triggers="syslinux.trigger=/boot" install="syslinux.post-upgrade" source="http://www.kernel.org/pub/linux/utils/boot/syslinux/${pkgver%%.*}.xx/$pkgname-$pkgver.tar.bz2 update-extlinux.conf update-extlinux " subpackages="$pkgname-doc" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" unset LDFLAGS make installer || return 1 } package() { cd "$_builddir" make INSTALLROOT="$pkgdir" MANDIR=/usr/share/man local-install mkdir -p "$pkgdir"/etc/update-extlinux.d cp "$srcdir"/update-extlinux.conf "$pkgdir"/etc/ cp "$srcdir"/update-extlinux "$pkgdir"/sbin/ } md5sums="a3936208767eb7ced65320abe2e33a10 syslinux-4.04.tar.bz2 92ed1795cfda4bc2f06fca2da0dc977c update-extlinux.conf 5a2ecfb888bea885cbd56d271713a4ae update-extlinux"