nano ver. bump

This commit is contained in:
Rmys
2020-07-08 19:32:21 +00:00
committed by GitHub
parent 2d0c799171
commit 8d2315cd22
2 changed files with 14 additions and 6 deletions
+6 -5
View File
@@ -3,6 +3,7 @@
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
@@ -17,15 +18,15 @@ def setup():
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# Enable colorization by default
shelltools.system("""sed -i -e '/^# include /s:# *::' doc/sample.nanorc""")
pisitools.insinto("/etc/", "doc/sample.nanorc", "nanorc")
pisitools.dosym("/usr/bin/nano", "/bin/nano")
pisitools.dohtml("doc/*.html")
pisitools.dodoc("ChangeLog*", "README", "doc/sample.nanorc", "AUTHORS", "NEWS", "TODO", "COPYING*", "THANKS")
# Enable colorization by default
pisitools.dosed("%s/etc/nanorc" % get.installDIR(), '## include "/path/to/syntax_file.nanorc"', ' include "/usr/share/nano/*.nanorc"')
+8 -1
View File
@@ -12,7 +12,7 @@
<IsA>app:console</IsA>
<Summary>GNU GPL'd Pico clone with more functionality</Summary>
<Description>Nano is a small, free and friendly editor which aims to replace Pico, the default editor included in the non-free Pine package. Rather than just copying Pico's look and feel, nano also implements some missing (or disabled by default) features in Pico, such as "search and replace" and "go to line number".</Description>
<Archive sha1sum="11380d669caee3d0137795913d4c572514a08e1d" type="tarxz">https://www.nano-editor.org/dist/v4/nano-4.8.tar.xz</Archive>
<Archive sha1sum="f5b19da32f6effc00cc997cc67e88737e333c783" type="tarxz">https://www.nano-editor.org/dist/v4/nano-4.9.3.tar.xz</Archive>
<BuildDependencies>
<Dependency>groff</Dependency>
<Dependency>ncurses-devel</Dependency>
@@ -39,6 +39,13 @@
</Package>
<History>
<Update release="9">
<Date>2020-07-08</Date>
<Version>4.9.3</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="8">
<Date>2020-02-09</Date>
<Version>4.8</Version>