arch/pkg/de-p1st-pacman/PKGBUILD

25 lines
635 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"
2021-04-22 16:02:02 +02:00
pkgver=0.0.7
2021-05-11 22:34:00 +02:00
pkgrel=4
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')
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}"
install -Dm0644 pacman.d/de-p1st "$pkgdir"/etc/pacman.d/de-p1st
2021-04-22 16:02:02 +02:00
install -Dm0544 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/pacman.conf.holoscript
}