mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
25 lines
741 B
Bash
25 lines
741 B
Bash
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
_pkgname=pacman-repo-surface
|
|
_reponame=arch
|
|
pkgname="de-p1st-$_pkgname"
|
|
pkgver=0.0.1
|
|
pkgrel=1
|
|
pkgdesc="Enable linux-surface repo"
|
|
arch=('any')
|
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
|
license=('MIT')
|
|
depends=('pacman' 'holo' 'git' 'base')
|
|
depends+=('curl') # add signing key of mirror in .install
|
|
makedepends=('git')
|
|
install='.install'
|
|
source=("git+${url}.git")
|
|
sha256sums=('SKIP')
|
|
|
|
package() {
|
|
cd "${_reponame}/pkg/${pkgname}"
|
|
|
|
install -Dm0644 pacman.d/linux-surface "$pkgdir"/etc/pacman.d/linux-surface
|
|
# 25 to be applied after de-p1st-pacman which is 20
|
|
install -Dm0544 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/25-"$pkgname"/etc/pacman.conf.holoscript
|
|
}
|