arch/pkg/de-p1st-mkinitcpio/PKGBUILD

25 lines
711 B
Bash
Raw Normal View History

# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=mkinitcpio
_reponame=arch
pkgname="de-p1st-$_pkgname"
2021-12-17 22:22:43 +01:00
pkgver=0.0.12
pkgrel=1
2021-05-03 13:26:54 +02:00
pkgdesc="mkinitcpio configuration"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
2022-04-15 15:36:53 +02:00
depends=()
depends+=('mkinitcpio')
depends+=('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
}