diff options
Diffstat (limited to 'main/syslinux/APKBUILD')
-rw-r--r-- | main/syslinux/APKBUILD | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/main/syslinux/APKBUILD b/main/syslinux/APKBUILD index e543f31f6..5fd6f2f5a 100644 --- a/main/syslinux/APKBUILD +++ b/main/syslinux/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=syslinux -pkgver=3.85 +pkgver=3.86 pkgrel=0 pkgdesc="a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem." url="http://syslinux.org" @@ -8,21 +8,26 @@ license="GPL" makedepends="nasm perl" depends="mtools" source="http://www.kernel.org/pub/linux/utils/boot/$pkgname/$pkgname-$pkgver.tar.bz2 - $pkgname-3.72-nopie.patch + $pkgname-3.86-nopie.patch " subpackages="$pkgname-doc" +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + patch -p1 < ../$pkgname-3.86-nopie.patch || return 1 +} + build() { - cd "$srcdir/$pkgname-$pkgver" - patch -p1 < ../$pkgname-3.72-nopie.patch || return 1 + cd "$_builddir" unset LDFLAGS make installer || return 1 } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$_builddir" make INSTALLROOT="$pkgdir" MANDIR=/usr/share/man local-install } -md5sums="416e64e3e9b1f838e393c809ff83e792 syslinux-3.85.tar.bz2 -c08398d165d29e48711e55058e2897de syslinux-3.72-nopie.patch" +md5sums="d6fb0231e82190b4932b2aa20274911a syslinux-3.86.tar.bz2 +5852d62ba0772cf967156a75451e6066 syslinux-3.86-nopie.patch" |