Flatten directory structure

This commit is contained in:
Florian Dejonckheere 2015-02-05 10:07:46 +01:00
commit fdd50b6229
3 changed files with 58 additions and 0 deletions

16
.SRCINFO Normal file
View file

@ -0,0 +1,16 @@
pkgbase = burg-themes
pkgdesc = Themes for Burg Bootloader
pkgver = 20100623
pkgrel = 2
url = https://code.google.com/p/burg/
install = burg-themes.install
arch = any
license = GPL
depends = burg-bzr
backup = boot/burg/gui.cfg
backup = boot/burg/burgenv
source = http://burg.googlecode.com/files/burg-theme-20100623.zip
sha256sums = 795af1678cbcf0c8a57a2f06c7cafeb11da6892f4c2710777a921274f4767b32
pkgname = burg-themes

27
PKGBUILD Executable file
View file

@ -0,0 +1,27 @@
# Contributor: cruznick <cruznick@archlinux.us>
# Contributor: fsckd <fsckdaemon -at- gmail>
pkgname=burg-themes
pkgver=20100623
pkgrel=2
pkgdesc="Themes for Burg Bootloader"
arch=('any')
url="https://code.google.com/p/burg/"
license=('GPL')
depends=('burg-bzr')
backup=('boot/burg/gui.cfg' 'boot/burg/burgenv')
install='burg-themes.install'
source=("http://burg.googlecode.com/files/burg-theme-$pkgver.zip")
sha256sums=('795af1678cbcf0c8a57a2f06c7cafeb11da6892f4c2710777a921274f4767b32')
package() {
local tdir="${pkgdir}/boot/burg"
for foo in fonts themes
do
cd "${srcdir}"
find "${foo}" -type f -exec install -Dpm644 '{}' "${tdir}/{}" \;
done
install -pm644 "${srcdir}"/{burgenv,gui.cfg} "${tdir}"
}

15
burg-themes.install Executable file
View file

@ -0,0 +1,15 @@
post_install() {
local red='\033[1;31m'
local grn='\033[1;32m'
local bld='\033[1;0m'
local clr='\033[0m'
echo -e "$red==>$bld Run $grn'burg-mkconfig -o /boot/burg/burg.cfg'$bld as root to generate and/or update burg.cfg.$clr"
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}