arch/pkg/de-p1st-pacman/PKGBUILD

25 lines
641 B
Bash

# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=pacman
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.1.0
pkgrel=1
pkgdesc="pacman with configuration"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
depends=('pacman' 'holo' 'git')
makedepends=('git')
optdepends=('de-p1st-pacman-mirrorlist')
install='.install'
source=("git+${url}.git")
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 pacman.d/de-p1st "$pkgdir"/etc/pacman.d/de-p1st
install -Dm0544 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/pacman.conf.holoscript
}