mandoc new package

This commit is contained in:
Rmys
2023-03-12 17:54:32 +03:00
parent 4073b7873b
commit b5f4e566d4
7 changed files with 136 additions and 39 deletions
+33
View File
@@ -0,0 +1,33 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
pisitools.dosed('configure', '"/usr/local"', '"/usr"')
pisitools.dosed('configure', '"${PREFIX}/man"', '"${PREFIX}/share/man"')
autotools.configure("MANDIR=/usr/share/man")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s MANDIR=/usr/share/man" % get.installDIR())
# man-db
pisitools.remove("/usr/bin/soelim")
pisitools.remove("/usr/bin/apropos")
pisitools.remove("/usr/bin/whatis")
pisitools.remove("/usr/bin/man")
pisitools.remove("/usr/share/man/man1/man.1")
pisitools.remove("/usr/share/man/man1/whatis.1")
pisitools.remove("/usr/share/man/man7/man.7")
pisitools.remove("/usr/share/man/man1/apropos.1")
pisitools.dodoc("LICENSE", "TODO", "NEWS")
+50
View File
@@ -0,0 +1,50 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>mandoc</Name>
<Homepage>https://mandoc.bsd.lv/</Homepage>
<Packager>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Packager>
<License>ISC</License>
<IsA>library</IsA>
<Summary>A suite of tools for compiling mdoc and man</Summary>
<Description>mdoc ve man'ı derlemek için bir araç paketi</Description>
<Archive sha1sum="4033a504b005e43a0642e195c1ef49609c65f1c4" type="targz">https://mandoc.bsd.lv/snapshots/mandoc-1.14.6.tar.gz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
</BuildDependencies>
-->
<!--
<Patches>
<Patch>mandoc.patch</Patch>
<Patch level="1">mandoc.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>mandoc</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-03-12</Date>
<Version>1.14.6</Version>
<Comment>First release</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>mandoc</Name>
<Summary xml:lang="tr">A suite of tools for compiling mdoc and man</Summary>
<Description xml:lang="tr">mdoc ve man'ı derlemek için bir araç paketi</Description>
</Source>
</PISI>