summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5d67f8021abed1efb56bc553eeacfc7d91b6cc09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Tuhana GAYRETLÄ° <tuhana at tuta dot io>

pkgname=catppuccin-grub-theme-git
_pkgname=catppuccin-grub-theme
_theme=catppuccin
pkgver=r18.82e7552
pkgrel=1
pkgdesc="Catppuccin GRUB theme."
arch=("any")
url="https://github.com/catppuccin/grub"
license=("MIT")
source=("https://github.com/catppuccin/grub/archive/82e7552bd71451152db4e57fd9937e77a6fab25a.zip")
sha256sums=("588b85e95b187666e1653322e869d4b626bb2df700f12f525e0d9cf80c8402ba")
install=$_pkgname.install

package() {
  cd $srcdir/grub-*

  install -dm755 "$pkgdir/usr/share/grub/themes/$_theme"
  cp -r --no-preserve=ownership $_pkgname/* "$pkgdir/usr/share/grub/themes/$_theme"

  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
  install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
}