mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 08:44:37 +08:00
Added new package: burg-themes
This commit is contained in:
parent
0b070a1bab
commit
536fa18fc6
25
burg-themes/PKGBUILD
Executable file
25
burg-themes/PKGBUILD
Executable 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
15
burg-themes/burg-themes.install
Executable 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
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user