nano moved here.

This commit is contained in:
Ertuğrul Erata
2015-07-13 15:49:06 +03:00
parent 0a5bc79cc4
commit e2b0e4e109
8 changed files with 534 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.autoreconf("-fvi")
autotools.configure("--disable-rpath \
--enable-utf8 \
--enable-altrcname \
--disable-speller")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.insinto("/etc/", "doc/nanorc.sample", "nanorc")
pisitools.dosym("/usr/bin/nano", "/bin/nano")
pisitools.dohtml("doc/*.html")
pisitools.dodoc("ChangeLog*", "README", "doc/nanorc.sample", "AUTHORS", "NEWS", "TODO", "COPYING*", "THANKS", "UPGRADE")