rxvt-unicode.

This commit is contained in:
4fury-c3440d8
2021-12-21 20:37:58 +03:00
parent 76b2266298
commit 39cda34704
3 changed files with 53 additions and 35 deletions
+29 -27
View File
@@ -4,37 +4,38 @@
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
i = ''.join([
' --enable-xft',
' --enable-perl',
' --enable-frills',
' --enable-fading',
' --enable-pixbuf',
' --enable-unicode3',
' --enable-iso14755',
' --enable-256-color',
' --enable-combining',
' --enable-mousewheel',
' --enable-everything',
' --enable-text-blink',
' --enable-rxvt-scroll',
' --enable-next-scroll',
' --enable-font-styles',
' --enable-xterm-scroll',
' --enable-transparency',
' --enable-slipwheeling',
' --enable-smart-resize',
' --enable-pointer-blank',
' --enable-keepscrolling',
' --enable-selectionscrolling '
])
def setup():
autotools.configure("--enable-everything \
--enable-perl \
--enable-unicode3 \
--enable-iso14755 \
--enable-mousewheel \
--enable-slipwheeling \
--enable-xft \
--enable-pixbuf \
--enable-font-styles \
--enable-transparency \
--enable-fading \
--enable-smart-resize \
--enable-text-blink \
--enable-pointer-blank \
--enable-utmp \
--enable-wtmp \
--enable-rxvt-scroll \
--enable-next-scroll \
--enable-xterm-scroll \
--enable-frills \
--enable-keepscrolling \
--enable-selectionscrolling \
--enable-font-styles \
--enable-256-color \
--enable-combining")
autotools.configure(i)
def build():
autotools.make()
@@ -43,6 +44,7 @@ def build():
def install():
shelltools.export("TERMINFO", "%s/usr/share/terminfo" % get.installDIR())
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dobin("doc/rxvt-tabbed")
pisitools.insinto("/usr/share/terminfo/r", "doc/etc/rxvt-unicode.terminfo", "rxvt-unicode")
pisitools.insinto("/etc", "doc/etc/rxvt-unicode.termcap")
@@ -50,7 +52,7 @@ def install():
shelltools.chmod("%s/usr/share/terminfo/r/rxvt-unicode" % get.installDIR(), 0644)
shelltools.chmod("%s/etc/rxvt-unicode.termcap" % get.installDIR(), 0644)
pisitools.dodoc("README.FAQ", "Changes", "doc/README*", "doc/changes.txt", "doc/rxvt-tabbed")
pisitools.dodoc("README.FAQ", "Changes", "doc/README.xvt")
# Should be provided by ncurses
pisitools.remove("/usr/share/terminfo/r/rxvt-unicode")