blob: 25f0853e559b705864fd197bee369daf3bbf98f7 (
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
25
26
27
|
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
_pkgname=grub2-theme-breeze
pkgname=grub2-theme-breeze-git
pkgver=5.21.5.r0.gae25316
pkgrel=1
pkgdesc=' A minimalistic GRUB theme inspired by Breeze Resources'
arch=('any')
url='https://github.com/gustawho/grub2-theme-breeze'
license=('CCPL:by-sa')
depends=('grub')
makedepends=('git')
provides=("${_pkgname}")
conflicts=("${_pkgname}" 'breeze-grub')
source=("${_pkgname}::git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/${_pkgname}"
find breeze -type f -exec \
install -Dm 644 '{}' "${pkgdir}/usr/share/grub/themes/{}" \;
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|