Added new package: burg-themes

This commit is contained in:
Giuseppe 2010-11-24 20:09:26 +00:00
parent 0b070a1bab
commit 536fa18fc6
2 changed files with 40 additions and 0 deletions

25
burg-themes/PKGBUILD Executable file
View File

@ -0,0 +1,25 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=burg-themes
pkgver=20100623
pkgrel=1
pkgdesc="Themes for Burg Bootloader"
arch=('any')
url="https://launchpad.net/burg"
license=('GPL')
depends=('zip' 'unzip')
backup=('boot/burg/gui.cfg' 'boot/burg/burgenv' )
source=( http://burg.googlecode.com/files/burg-theme-$pkgver.zip )
sha1sums=('47a2722f7d90c4cbae4d91787afbd9a6f0792f6b')
install='burg-themes.install'
package() {
mkdir -p $pkgdir/boot/burg
unzip burg-theme-$pkgver.zip -d $pkgdir/boot/burg
}

15
burg-themes/burg-themes.install Executable file
View File

@ -0,0 +1,15 @@
pre_instal(){
mv /boot/burg/burgenv /boot/burg/burgenv.pacsave
}
post_install() {
echo -e "\033[0;31m IMPORTANT"
echo -e "\033[0;0m Run \033[0;32m 'burg-mkconfig -o /boot/burg/burg.cfg' \033[0;0m as root for generating and/or updating burg.cfg"
}
post_upgrade() {
post_install
}