arch/pkg/de-p1st-pacman/PKGBUILD

27 lines
808 B
Bash
Raw Normal View History

# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=pacman
2021-04-26 18:28:17 +02:00
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.2.2
pkgrel=1
pkgdesc="pacman with configuration"
arch=('any')
2021-04-26 18:25:29 +02:00
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
depends=('pacman' 'holo' 'git' 'base')
2021-09-10 12:08:02 +02:00
depends+=('curl') # add signing key of mirror in .install
2021-04-22 13:37:47 +02:00
makedepends=('git')
2021-04-22 16:02:02 +02:00
optdepends=('de-p1st-pacman-mirrorlist')
2021-04-29 14:24:28 +02:00
install='.install'
source=("git+${url}.git")
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
2021-09-10 12:08:02 +02:00
install -Dm0644 pacman.d/de-p1st "$pkgdir"/etc/pacman.d/de-p1st
install -Dm0644 pacman.d/ungoogled-chromium "$pkgdir"/etc/pacman.d/ungoogled-chromium
2021-09-10 12:08:02 +02:00
install -Dm0544 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/pacman.conf.holoscript
}