Commit 30f42d8d authored by Francesco Marinucci's avatar Francesco Marinucci

[skip-ci] burg-emu: removed obsolete package files, closing issue #135

parent 9ec3c2ee
Pipeline #2543 skipped
echo "Unmaintained by upstream; we don't use it anymore"
exit; # aborts makepkg
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dot]org
# maintainer (x86_64): Giuseppe Calà <jiveaxe[at]gmail[dot]com>
pkgname=burg-emu
pkgver=1844
pkgrel=2
pkgdesc="A brand-new boot loader based on GRUB (emulator)"
url="https://launchpad.net/burg"
license="GPL3"
arch=('i686' 'x86_64')
depends=('ruby' 'python2' 'gettext' 'freetype2' 'sdl' 'ncurses' 'burg-bzr')
makedepends=('bzr')
conflicts=(burg-emu-fixed)
replaces=(burg-emu-fixed)
provides=('burg-emu')
install='burg-emu.install'
_bzrmod=burg
_bzrtrunk=lp:${_bzrmod}
build() {
cd $srcdir/
msg "Connecting to the server...."
if [ ! -d ./${_bzrmod} ]; then
bzr branch ${_bzrtrunk} -r ${pkgver}
else
cd ${_bzrmod} && bzr pull -r ${pkgver}
fi
msg "BZR checkout done or server timeout"
cd "${srcdir}/${_bzrmod}"
sed -i 's|python|python2|' ${srcdir}/${_bzrmod}/autogen.sh
./autogen.sh || return 1
}
package() {
provides=('burg-emu')
install='burg-emu.install'
msg "Removing old build directory..."
rm -rf $srcdir/$_bzrmod-emu-build
msg "Creating build directory..."
mkdir $srcdir/$_bzrmod-emu-build
cd $srcdir/$_bzrmod-emu-build
$srcdir/$_bzrmod/configure --with-platform=emu --disable-grub-emu-usb --prefix=/opt/burg-emu || return 1
make || return 1
make install DESTDIR=$pkgdir || return 11
}
post_install() {
echo -e "\033[0;31m IMPORTANT"
echo -e "\033[0;0m Run \033[0;32m '/opt/burg-emu/bin/burg-emu' \033[0;0m as root to set burg look"
echo -e "\033[0;0m In burg-emu press \033[0;32m 'h' \033[0;0m for a list of shortcuts"
}
post_upgrade() {
post_install
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment