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=('SKIP') 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" }