refind/PKGBUILD

26 lines
778 B
Bash

pkgname=blossom-refind
pkgver=1.0.0
pkgrel=1
pkgdesc="BlossomOS rEFInd theme"
arch=('any')
url="https://git.blossomos.org/Blossom"
license=('GPL3')
depends=('refind')
makedepends=()
source=("${pkgname}-${pkgver}.tar.gz::$url/refind/archive/${pkgver}.tar.gz")
sha256sums=('0aa49f053520d359aa4cb5af3eb7c494177a6da33520e99dd20988cab04d4c5e')
package() {
local _srcdir
_srcdir="$(find "${srcdir}" -mindepth 1 -maxdepth 1 -type d | head -n1)"
cd "${_srcdir}"
# Install under the name expected by theme.conf
local _themedir="${pkgdir}/usr/share/refind/themes/blossomos"
install -dm755 "${_themedir}"
cp -r banner icons selection "${_themedir}/"
install -Dm644 theme.conf "${_themedir}/theme.conf"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}