summaryrefslogtreecommitdiff
path: root/libre/syslinux/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/syslinux/PKGBUILD')
-rw-r--r--libre/syslinux/PKGBUILD34
1 files changed, 14 insertions, 20 deletions
diff --git a/libre/syslinux/PKGBUILD b/libre/syslinux/PKGBUILD
index b4e9fa35a..d23deae0a 100644
--- a/libre/syslinux/PKGBUILD
+++ b/libre/syslinux/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 165555 2012-08-23 18:27:20Z thomas $
+# $Id: PKGBUILD 185894 2013-05-19 17:17:51Z tpowa $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=syslinux
-pkgver=4.05
-pkgrel=7
+pkgver=5.01
+pkgrel=4
arch=('i686' 'x86_64')
pkgdesc="Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE (Parabola rebranded)"
-url="http://syslinux.zytor.com/"
+url="http://www.syslinux.org"
license=('GPL2')
depends=('perl' 'glibc')
optdepends=('perl-passwd-md5: For md5pass'
@@ -24,16 +24,12 @@ source=(http://www.kernel.org/pub/linux/utils/boot/syslinux/$pkgname-${pkgver}.t
syslinux-dont-build-dos-windows-targets.patch
syslinux.cfg
syslinux-install_update
- avoid-using-ext2_fs.patch
- handle-ctors-dtors-via-init_array-and-fini_array.patch
splash.png)
-md5sums=('82299242418385da1274c9479a778cb2'
- '1528c376e43f0eaccaa80d8ad1bc13b4'
- '8dc2afca3739667e892faf04eb97e7b1'
- '680750f73dc2e587ac567d057d485813'
- '2e2c674a71c0c0bf265d96cfc19ce985'
- 'd016d03f15177b1bb534ce3753b2aa9b'
- '0035b6cac6756a384b861eda8d33e4f7')
+md5sums=('6c21244277fa4e444967ba45469de863'
+ '25af85a05e7b212b7fb8b7587175e492'
+ 'e5a69630e3f7083aad2d14362b6117b3'
+ '4450792e13a0270c1b89bb6a66ce2fbc'
+ 'befd0e7c38a03442b791f2a530b4dd2d')
build() {
# Do not try to build syslinux with our default LDFLAGS, it will fail
@@ -41,10 +37,6 @@ build() {
cd "$srcdir"/$pkgname-${pkgver}
# Do not try to build the Windows or DOS installers
patch -p1 -i "$srcdir"/syslinux-dont-build-dos-windows-targets.patch
- # fix #30084
- patch -Np1 -i "$srcdir"/avoid-using-ext2_fs.patch
- # fix #31065 (booting breaks with gcc 4.7)
- patch -Np1 -i "$srcdir"/handle-ctors-dtors-via-init_array-and-fini_array.patch
# Fix FHS manpage path
sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
make installer
@@ -56,14 +48,16 @@ package() {
cd "$srcdir"/$pkgname-${pkgver}
make INSTALLROOT="$pkgdir" AUXDIR=/usr/lib/syslinux install
+ # install docs
+ cp -ar "$srcdir"/$pkgname-${pkgver}/doc "$pkgdir"/usr/share/
# Install the default configuration
install -D -m644 "$srcdir"/syslinux.cfg "$pkgdir"/boot/syslinux/syslinux.cfg
# Install Parabola splash
install -D -m644 "$srcdir"/splash.png "$pkgdir"/boot/syslinux/splash.png
# Install the installation and update script
# This script is maintained at git://gist.github.com/772138.git
- install -D -m755 "$srcdir"/syslinux-install_update "$pkgdir"/usr/sbin/syslinux-install_update
- # move extlinux binary to /usr/sbin
- mv "$pkgdir"/sbin/extlinux "$pkgdir"/usr/sbin/extlinux
+ install -D -m755 "$srcdir"/syslinux-install_update "$pkgdir"/usr/bin/syslinux-install_update
+ # move extlinux binary to /usr/bin
+ mv "$pkgdir"/sbin/extlinux "$pkgdir"/usr/bin/extlinux
rmdir "$pkgdir"/sbin
}