nano
This commit is contained in:
1 parent
5e1cdc7bb2
commit
91452c8ab7
3 files changed
+48
-1
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
include /usr/share/nano/*.nanorc
|
||||||
|
include /usr/share/nano/extra/*.nanorc
|
||||||
|
set constantshow
|
||||||
|
set matchbrackets "(<[{)>]}"
|
||||||
|
set multibuffer
|
||||||
|
set smarthome
|
||||||
|
set tabsize 2
|
||||||
|
set nonewlines
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='nano'
|
||||||
|
release='1'
|
||||||
|
version='7.0'
|
||||||
|
url='https://www.nano-editor.org/download.php'
|
||||||
|
description='Pico editor clone with enhancements'
|
||||||
|
email='parduscix@yandex.ru'
|
||||||
|
maintainer='sulincix'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://www.nano-editor.org/dist/v7/nano-$version.tar.xz"
|
||||||
|
"nanorc")
|
||||||
|
depends=(file zlib ncurses bzip2)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('32faafd9da9ee75feda8423d5744ee4d'
|
||||||
|
'SKIP')
|
||||||
|
uses=(nanorc)
|
||||||
|
arch=('x86_64')
|
||||||
|
group=(app.editor)
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
$(use_arg nanorc --enable-color --disable-color )\
|
||||||
|
$(use_arg nanorc --enable-nanorc --disable-nanorc )\
|
||||||
|
--enable-multibuffer
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
mkdir -p ${DESTDIR}/etc/
|
||||||
|
install ../nanorc ${DESTDIR}/etc/nanorc
|
||||||
|
}
|
||||||
|
|
||||||
+1
-1
@@ -11,7 +11,7 @@ find -type f | grep ympbuild | sort -V | while read line ; do
|
|||||||
path=$(realpath $(dirname $line))
|
path=$(realpath $(dirname $line))
|
||||||
if ! find ./output/ -type f | grep "${name}/${name}_" | grep "$(uname -m).ymp$" &>/dev/null ; then
|
if ! find ./output/ -type f | grep "${name}/${name}_" | grep "$(uname -m).ymp$" &>/dev/null ; then
|
||||||
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
|
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
|
||||||
ymp --sandbox --shared="$path" build "$path" --no-source --ignore-dependency --use=all --allow-oem || exit 1
|
ymp --sandbox --shared="$path" build "$path" --no-source --ignore-dependency --use=all --allow-oem --ignore-ssl || exit 1
|
||||||
move_package
|
move_package
|
||||||
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
|
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user