arch/pkg/de-p1st-mkinitcpio/PKGBUILD

23 lines
685 B
Bash
Raw Normal View History

# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=mkinitcpio
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.8
pkgrel=1
2021-05-03 13:26:54 +02:00
pkgdesc="mkinitcpio configuration"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
depends=('mkinitcpio' 'holo' 'git' 'base') # without base "holo apply" may fail on initial system installation
makedepends=('git')
install='.install'
source=("git+${url}.git")
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
# 11$pkgname as this shall be applied after de-p1st-gpu-amdgpu
install -Dm0544 mkinitcpio.conf.holoscript "$pkgdir"/usr/share/holo/files/11"$pkgname"/etc/mkinitcpio.conf.holoscript
}