diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-26 00:42:47 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-26 00:42:47 -0300 |
commit | 8a31e393a7aaa77c71537fef798e17d38e50fd85 (patch) | |
tree | f32430ffe2ff57de32bc792bf6acaf876b448da1 /libre/syslinux | |
parent | 5fb072161c31a36f91729711177296ee6930b964 (diff) |
syslinux-4.05-4.3: adding rePKGBUILD and updating release
Diffstat (limited to 'libre/syslinux')
-rw-r--r-- | libre/syslinux/PKGBUILD | 2 | ||||
-rw-r--r-- | libre/syslinux/rePKGBUILD | 44 |
2 files changed, 45 insertions, 1 deletions
diff --git a/libre/syslinux/PKGBUILD b/libre/syslinux/PKGBUILD index f0c60030b..1a76a6825 100644 --- a/libre/syslinux/PKGBUILD +++ b/libre/syslinux/PKGBUILD @@ -5,7 +5,7 @@ pkgname=syslinux pkgver=4.05 -pkgrel=4.2 +pkgrel=4.3 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/" diff --git a/libre/syslinux/rePKGBUILD b/libre/syslinux/rePKGBUILD new file mode 100644 index 000000000..c8a3cdc35 --- /dev/null +++ b/libre/syslinux/rePKGBUILD @@ -0,0 +1,44 @@ +# This is an example rePKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy> +source PKGBUILD +unset build package md5sums source check +_repo=core +pkgname='syslinux' +options=(!strip) +source=(PKGBUILD +# http://mirrors.kernel.org/archlinux/${_repo}/os/$CARCH/${pkgname}-${pkgver}-${pkgrel}-${CARCH}${PKGEXT} + http://mirrors.kernel.org/archlinux/${_repo}/os/$CARCH/${pkgname}-${pkgver}-4-${CARCH}${PKGEXT} + # files for pkg modifications + syslinux.cfg + splash.png) + +build() { + cd "${srcdir}/" + rm -v .{INSTALL,PKGINFO} ${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT || true + # put actions for package modifications below this line + + rm -v boot/syslinux/syslinux.cfg +} + +package_syslinux() { + pkgdesc="Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE (Parabola rebranded)" + install=syslinux.install + backup=('boot/syslinux/syslinux.cfg' + 'boot/syslinux/splash.png') + optdepends=('perl-passwd-md5: For md5pass' + 'perl-digest-sha1: For sha1pass' + 'mtools: For mkdiskimage and syslinux support' + ) + # 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 + + + find ${srcdir} -maxdepth 1 -type l -delete + cp -a ${srcdir}/* ${pkgdir} +} |