arch/pkg/de-p1st-pacman/PKGBUILD

35 lines
835 B
Bash
Raw Normal View History

# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=pacman
_reponame=arch-pkg
pkgname="de-p1st-$_pkgname"
2021-04-22 13:37:47 +02:00
pkgver=0.0.2
pkgrel=1
pkgdesc="pacman with configuration"
arch=('any')
url="https://git.privacy1st.de/langfingaz/${_reponame}"
license=('MIT')
groups=()
depends=('pacman' 'holo')
2021-04-22 13:37:47 +02:00
makedepends=('git')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install="${pkgname}.install"
changelog=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 pacman.d/de-p1st "$pkgdir"/etc/pacman.d/de-p1st
install -Dm0644 pacman.d/mirrorlist "$pkgdir"/usr/share/holo/files/de-p1st-pacman/etc/pacman.d/mirrorlist
install -Dm0644 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/de-p1st-pacman/etc/pacman.conf.holoscript
}