arch/pkg/de-p1st-nano/PKGBUILD

24 lines
651 B
Bash
Raw Permalink Normal View History

2021-04-29 15:15:08 +02:00
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=nano
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.3
pkgrel=1
2021-04-29 15:15:08 +02:00
pkgdesc="nano with configuration"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
2022-04-15 15:36:53 +02:00
depends=()
depends+=('nano')
2022-04-15 15:43:21 +02:00
depends+=('holo' 'git' 'base') # holo depends on base (otherwise "holo apply" may fail on initial system installation) and git (git-diff)
2021-04-29 15:15:08 +02:00
makedepends=('git')
install='.install'
source=("git+${url}.git")
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -Dm0544 nanorc.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/nanorc.holoscript
2021-04-29 15:15:08 +02:00
}