51 lines
1.9 KiB
Bash
51 lines
1.9 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=nano
|
|
pkgver=7.1
|
|
pkgrel=01
|
|
pkgdesc="Pico editor clone with enhancements"
|
|
arch=('x86_64')
|
|
groups=( jobbot base )
|
|
url="https://www.nano-editor.org"
|
|
depends=('ncurses' 'file' 'sh')
|
|
backup=('etc/nanorc')
|
|
#options=('debug') ### uncomment this to have the debug pkg produced
|
|
source=(https://www.nano-editor.org/dist/v7/${pkgname}-${pkgver}.tar.xz{,.asc}
|
|
jobo.nanorc)
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--enable-color \
|
|
--enable-nanorc \
|
|
--enable-multibuffer
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
# install -DTm644 "${srcdir}"/${pkgname}-${pkgver}/doc/sample.nanorc "${pkgdir}"/etc/nanorc
|
|
# we substituted our own colorized nanorc, basically uncommenting the colors proposed
|
|
install -DTm644 "${srcdir}"/jobo.nanorc "${pkgdir}"/etc/nanorc
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('GPL')
|
|
|
|
#validpgpkeys=('8DA6FE7BFA7A418AB3CB2354BCB356DF91009FA7' # "Chris Allegretta <chrisa@asty.org>"
|
|
# 'A7F6A64A67DA09EF92782DD79DF4862AF1175C5B' # "Benno Schulenberg <bensberg@justemail.net>"
|
|
#validpgpkeys=('BFD009061E535052AD0DF2150D28D4D2A0ACE884') # "Benno Schulenberg <bensberg@telfort.nl>"
|
|
validpgpkeys=('168E6F4297BFD7A79AFD4496514BBE2EB8E1961F') # "Benno Schulenberg <bensberg@telfort.nl>"
|
|
|
|
sha256sums=(57ba751e9b7519f0f6ddee505202e387c75dde440c1f7aa1b9310cc381406836 # nano-7.1.tar.xz
|
|
20f622791c4ff8cbfe63ec79122d28acc1cef1cb088376d3275da5c21310b1d2 # nano-7.1.tar.xz.asc
|
|
b6c0a10c45766ec0afa5af5e2fca639bc08d2b06f62a4356402253e080d20f9a) # jobo.nanorc
|
|
|