# Maintainer: Jeromy Altuna pkgname=refind-theme-nord pkgver=1.1.0 pkgrel=1 pkgdesc="Simple theme inspired by the Nord palette" arch=('any') url="https://github.com/jaltuna/refind-theme-nord" license=('MIT') depends=('refind') source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") sha256sums=('0b833acb2ab9a7ae04055c3e8609fff9ec2c64d227de6950252ef4830d7d95d1') install=$pkgname.install prepare() { cd "$pkgname-$pkgver" # do not reset the STDIN file descriptor sed -e 's|exec|# exec|g' -i 'setup.sh' } package() { cd "$pkgname-$pkgver" _theme_dir="usr/share/refind/themes/nord" install -D -m0755 -t "${pkgdir}/${_theme_dir}/" "setup.sh" install -D -m0644 -t "${pkgdir}/${_theme_dir}/" {theme.conf,*.png} install -D -m0644 -t "${pkgdir}/${_theme_dir}/icons" "icons/"*.png # docs install -D -m0644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md # licenses install -D -m0644 -t "${pkgdir}/usr/share/licenses/${pkgname}" {LICENSE,COPYING} }