50 lines
1.8 KiB
Bash
50 lines
1.8 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=6.4
|
|
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/v6/${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>"
|
|
|
|
sha256sums=(4199ae8ca78a7796de56de1a41b821dc47912c0307e9816b56cc317df34661c0 # nano-6.4.tar.xz
|
|
d5644f6dbc9fd427012c9dfc94e3ee0a5cc850eb63678ce3cdae412239397b6c # nano-6.4.tar.xz.asc
|
|
b6c0a10c45766ec0afa5af5e2fca639bc08d2b06f62a4356402253e080d20f9a) # jobo.nanorc
|
|
|