Initial commit
This commit is contained in:
commit
7bcc9a4b7f
8 changed files with 169 additions and 0 deletions
34
PKGBUILD
Normal file
34
PKGBUILD
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
|
||||
|
||||
pkgname=grub-theme-arch
|
||||
pkgver=3.4
|
||||
pkgrel=1
|
||||
pkgdesc="Grub theme for Arch Linux"
|
||||
arch=(any)
|
||||
url="https://github.com/ahmedmoselhi/distro-grub-themes"
|
||||
license=(
|
||||
GPL-3.0-or-later
|
||||
)
|
||||
depends=(
|
||||
grub
|
||||
)
|
||||
source=("grub-theme-arch.tar::${url}/releases/download/v${pkgver}/arch-linux.tar")
|
||||
b2sums=('6cb9f2ed427f37c3376e8fdfed27eab188d29c1d7abfae5fd2359e39a3aab767216114d763c1a5b022ba2d690a6a4e758dda6ccc700da21b83b89b90296c88f6')
|
||||
noextract=("${source[@]%%::*}")
|
||||
options+=(!strip)
|
||||
|
||||
prepare() {
|
||||
for t in *.tar ; do
|
||||
bn="$(basename "$t" .tar)"
|
||||
mkdir -p "$bn"
|
||||
tar -xf "$t" -C "$bn"
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
install -dm0755 "$pkgdir/usr/share/grub/themes/$pkgname"
|
||||
cp -a --no-preserve=mode,ownership ./* "$pkgdir/usr/share/grub/themes/$pkgname"
|
||||
}
|
||||
|
||||
# vim: set ft=sh ts=4 sw=4 et:
|
||||
Loading…
Add table
Add a link
Reference in a new issue