add tree repo
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/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 build():
|
||||
autotools.make('CC="%s" \
|
||||
CFLAGS="%s -fomit-frame-pointer -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" \
|
||||
LDFLAGS="%s"' % (get.CC(), get.CFLAGS(), get.LDFLAGS()))
|
||||
|
||||
def install():
|
||||
pisitools.dobin("tree")
|
||||
|
||||
pisitools.doman("doc/tree.1")
|
||||
pisitools.dodoc("CHANGES", "README*")
|
||||
@@ -0,0 +1,34 @@
|
||||
# Copyright © 2005 TUBITAK/UEKAE
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
#
|
||||
# Original work belongs Gentoo Linux
|
||||
|
||||
_tree() {
|
||||
local cur prev opts
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
opts="-a -d -l -f -i -q -N -p -u -g -s -h -D -F -v -r -t -x -L -A
|
||||
-S -n -C -P -I -H -T -R -o --inodes --device --noreport --nolinks
|
||||
--dirsfirst --charset --filelimit --help"
|
||||
|
||||
if [[ ${cur} == -* ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
fi
|
||||
|
||||
case "${prev}" in
|
||||
-L|-P|-I|-H|-T|--charset|--help)
|
||||
;;
|
||||
-o)
|
||||
COMPREPLY=( $(compgen -f -- ${cur}) )
|
||||
;;
|
||||
*)
|
||||
COMPREPLY=( $(compgen -d -- ${cur}) )
|
||||
;;
|
||||
esac
|
||||
}
|
||||
complete -o filenames -F _tree tree
|
||||
|
||||
# vim: set ft=sh tw=80 sw=4 et :
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>tree</Name>
|
||||
<Homepage>http://mama.indstate.edu/users/ice/tree/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Recursive directory listing tool</Summary>
|
||||
<Description>Tree lists directories recursively, and produces an indented listing of files.</Description>
|
||||
<Archive sha1sum="35bd212606e6c5d60f4d5062f4a59bb7b7b25949" type="targz">ftp://mama.indstate.edu/linux/tree/tree-1.7.0.tgz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>tree</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/bash-completion</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/bash-completion/tree">tree.bashcomp</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2015-01-25</Date>
|
||||
<Version>1.7.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>1.6.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-20</Date>
|
||||
<Version>1.6.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>tree</Name>
|
||||
<Summary xml:lang="tr">Dizin listeleme aracı</Summary>
|
||||
<Description xml:lang="tr">Dizinleri özyineli olarak listeler ve dosya listesini girintili olarak gösterir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user