code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>enchant</Name>
        <Homepage>http://www.abisource.com/enchant/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        Spellchecker wrapping library
        <Description>enchant is a library that wraps other spell checking backends.</Description>
        <Archive sha1sum="321f9cf0abfa1937401676ce60976d8779c39536" type="targz">http://www.abisource.com/downloads/enchant/1.6.0/enchant-1.6.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>aspell</Dependency>
            <Dependency>hunspell</Dependency>
            <Dependency>glib2-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>enchant</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/enchant</Path>
        </Files>
    </Package>

    <Package>
        <Name>enchant-aspell</Name>
        aspell backend for Enchant
        <RuntimeDependencies>
            <Dependency>enchant</Dependency>
            <Dependency>aspell</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/enchant/libenchant_aspell.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>enchant-zemberek</Name>
        zemberek backend for Enchant
        <RuntimeDependencies>
            <Dependency>enchant</Dependency>
            <Dependency>zemberek-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/enchant/libenchant_zemberek.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>enchant-devel</Name>
        Development files for enchant
        <RuntimeDependencies>
            <Dependency release="current">enchant</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-28</Date>
            <Version>1.6.0</Version>
            <Comment>Rebuild for new Toolchain.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-25</Date>
            <Version>1.6.0</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>enchant</Name>
        İmla denetimi kitaplığı
        <Description xml:lang="tr">enchant, diğer imla denetim kitaplıklarını arkauç olarak kullanan bir imla denetim kitaplığıdır.</Description>
    </Source>

    <Package>
        <Name>enchant-aspell</Name>
        Enchant için aspell arkaucu
    </Package>

    <Package>
        <Name>enchant-zemberek</Name>
        Enchant için zemberek arkaucu
    </Package>

    <Package>
        <Name>enchant-devel</Name>
        enchant için geliştirme dosyaları
    </Package>
</PISI>

repo_name: ayhanyalcinsoy/main


code:
#!/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 shelltools
from pisi.actionsapi import get

def setup():
    shelltools.export("AUTOPOINT", "true")
    autotools.autoreconf("-fi")
    autotools.configure("--disable-static \
                         --with-ui \
                         --with-readline \
                         --enable-nls")
    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    for f in ("affixcompress", "makealias", "wordforms"):
        pisitools.dobin("src/tools/%s" % f)

    pisitools.dodoc("ABOUT-NLS", "AUTHORS*", "BUGS", "COPYING*", "NEWS", "README*", "THANKS", "TODO")


code:
#!/usr/bin/perl -w
# -*- coding: iso-8859-1 -*-
# 	$Id: ispellaff2myspell,v 1.29 2005/07/04 12:21:55 agmartin Exp $
#
#   (C) 2002-2005 Agustin Martin Domingo <agustin.martin@hispalinux.es>
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

sub usage {
    print "ispellaff2myspell: A program to convert ispell affix tables to myspell format
(C) 2002-2005 Agustin Martin Domingo <agustin.martin\@hispalinux.es>         License: GPL

Usage:
	ispellaff2myspell [options] <affixfile>

      Options:
	--affixfile=s      Affix file
	--bylocale         Use current locale setup for upper/lowercase
                           conversion
	--charset=s        Use specified charset for upper/lowercase
                           conversion (defaults to latin1)
 	--debug            Print debugging info
 	--extraflags       Allow some non alphabetic flags
	--lowercase=s      Lowercase string
        --myheader=s       Header file
	--printcomments    Print commented lines in output
        --replacements=s   Replacements file
        --split=i          Split flags with more that i entries
	--uppercase=s      Uppercase string
	--wordlist=s       Still unused

  Currently allowed valued for charset are: latin1, latin2, latin3

This script does not create the dict file. Something like

( echo `cat mydict.words+ | wc -l`; cat mydict.words+ ) > mydict.dict

should do the work, with mydict.words+ being the ispell munched wordlist

";
    exit;
}

sub debugprint {
    if ( $debug ){
	print STDERR "@_";
    }
}

sub shipoutflag{
    my $flag_entries=scalar @flag_array;

    if ( $flag_entries != 0 ){
	if ( $split ){
	    while ( @flag_array ){
		my @flag_subarray=splice(@flag_array,0,$split);
		my $subflag_entries=scalar @flag_subarray;
		if ( scalar @flag_array ){
		    print "$myaffix $flagname $flagcombine $subflag_entries S\n";
		} else {
		    print "$myaffix $flagname $flagcombine $subflag_entries\n";
		}
		print join("\n",@flag_subarray);
		print "\n\n";
	    }
	} else {
	    print "$myaffix $flagname $flagcombine $flag_entries\n";
	    print join("\n",@flag_array);
	    print "\n\n";
	}
    }
    @flag_array=();
    $flagname='';
    $flagcombine='';
}

sub mylc{
    my $inputstring=shift;
    my $outputstring;

    if ( $bylocale ){
	{
	    use locale;
	    $outputstring =  lc $inputstring;
	}
    } else {
	if ( $charset eq "latin0" ){
	    $lowercase='a-z���������������������������������';
	    $uppercase='A-Z�����������������������������޼��';
	} elsif ( $charset eq "latin1" ){
	    $lowercase='a-z������������������������������';
	    $uppercase='A-Z������������������������������';
	} elsif ( $charset eq "latin2" ){
	    $lowercase='a-z����������������������������������������';
	    $uppercase='A-Z����������������������������������������';
	} elsif ( $charset eq "latin3" ){
	    $lowercase='a-z������������������������������������';
	    $uppercase='A-Z������������������������������������';
#	} elsif ( $charset eq "other_charset" ){
#	    die "latin2 still unimplemented";
	} else {
	    if ( not $lowercase and not $uppercase ){
		die "Unsupported charset [$charset]

use explicitely --lowercase=string and --uppercase=string
options. Remember that both string must match exactly, but
case changed.
";
	    }
	}
	$outputstring=$inputstring;
	eval "\$outputstring=~tr/$uppercase/$lowercase/";
    }
    return $outputstring;
}

sub validate_flag (){
    my $flag = shift;
    if ($flag=~m/[a-zA-Z]+/){
	return $flag;
    } elsif ( $hasextraflags ){
	foreach ( keys %theextraflags ){
	    if ($flag =~ m/^$_/){
		$flag =~ s/^$_//;
		return $flag;
	    }
	}
    }
    return '';
}

sub process_replacements{
    my $file = shift;
    my @replaces = ();

    open (REPLACE,"< $file") ||
	die "Error: Could not open replacements file: $file\n";
    while (<REPLACE>){
	next unless m/^REP[\s\t]*\D.*/;
	next if m/^REP\s+[0-9]+/;
	s/\015\012//;
	s/\015//;
	chomp;
	push @replaces, $_;
    }
    close REPLACE;
    my $number = scalar @replaces;
    print "REP $number\n";
    foreach ( @replaces ){
	print $_ . "\n";
    }
}

# -----------------------------------------------------------
# Now the progran start, after the functions are defined
# -----------------------------------------------------------

use Getopt::Long;

# Initializing option values
$affixfile     = '';
$bylocale      = '';
$charset       = '';
$debug         = '';
$lowercase     = '';
$myheader      = '';
$printcomments = '';
$replacements  = '';
$split         = '';
$uppercase     = '';
$wordlist      = '';
$hasextraflags = '';
@flag_array    = ();
%theextraflags = ();
# Initializing root values
$rootremove    = "0";
$rootname      = '';
$addtoroot     = '';
$comment       = '';
# Initializing flag values
$flagname      = '';
$flagcombine   = '';
$inflags       = '';

GetOptions ('affixfile=s'   => \$affixfile,
	    'bylocale'      => \$bylocale,
	    'charset=s'     => \$charset,
	    'debug'         => \$debug,
	    'extraflags:s'  => sub {
		$hasextraflags = 1;
		shift;
		$theflag = shift;
		$theextraflags{$theflag}++ if $theflag},
	    'lowercase=s'   => \$lowercase,
	    'myheader=s'    => \$myheader,
	    'printcomments' => \$printcomments,
	    'replacements=s'=> \$replacements,
	    'split=i'       => \$split,
	    'uppercase=s'   => \$uppercase,
	    'wordlist=s'    => \$wordlist) or usage;

if ( not $affixfile ){
    $affixfile=shift or usage;
}

if ( $charset and ( $lowercase or $uppercase )){
    die "Error: charset and lowercase/uppercase options
are incompatible. Use either charset or lowercase/uppercase options to
specify the patterns
"
} elsif ( not $lowercase and not $uppercase and not $charset ){
    $charset="latin1";
}

if ( scalar(keys %theextraflags) == 0 && $hasextraflags ){
    $theextraflags{"\\\\"}++;
}

debugprint "$affixfile $charset";

open (AFFIXFILE,"< $affixfile") ||
    die "Error: Could not open affix file: $affixfile";

if ( $myheader ){
    my $myspell_header=`cat $myheader`;
    print $myspell_header . "\n";
}

while (<AFFIXFILE>){
    chomp;
    if (/^\s*\#.*/){
	debugprint "Ignoring line $.\n";
	print "$_\n" if $printcomments;
    } elsif (/^\s*$/){
	debugprint "Ignoring line $.\n";
    } elsif (/^\s*prefixes/){
	debugprint "Prefixes starting in line $.\n";
	$affix="PFX";
    } elsif (/^\s*suffixes/){
	debugprint "Suffixes starting in line $.\n";
	$affix="SFX";
    } elsif (/^[\s\t]*flag.*/){
	next if not $affix;         # In case we are still in the preamble
	shipoutflag if $inflags;
	$inflags="yes";
	s/^[\s\t]*flag[\s\t]*//;
	s/[\s\t]*:.*$//;
	debugprint "Found flag $_ in line $.\n";

	if (/\*/){
	    s/[\*\s]//g;
	    $flagcombine="Y";
	    debugprint "Flag renamed to $_ with combine=$flagcombine\n";
	} else {
	    $flagcombine="N";
	}

	if ( $flagname = &validate_flag($_) ){
	    $myaffix  = $affix;
	} else {
	    $myaffix  = "\# $affix";
	    $flagname = $_;
	    print STDERR "Ignoring invalid flag $flagname in line $.\n";
	}
    } elsif ( $affix and $inflags ) {
	($rootname,@comments)   =  split('#',$_);
	$comment                =  '# ' . join('#',@comments);

	$rootname               =~ s/\s*//g;
	$rootname               =  mylc $rootname;
	($rootname,$addtoroot)  =  split('>',$rootname);

	if ( $addtoroot =~ s/^\-//g ){
	    ($rootremove,$addtoroot)  = split(',',$addtoroot);
	    $addtoroot                = "0" unless $addtoroot;
	    $addtoroot                = "0" if ( $addtoroot eq "-");
	} else {
	    $rootremove = "0";
	}
	$addtoroot =~ s/\\\-/\-/g; # prefix ANTI\- to anti-

	if ( $rootname eq '.' && $rootremove ne "0" ){
	    $rootname = $rootremove;
	}

	debugprint "$rootname, $addtoroot, $rootremove\n";
	if ( $printcomments ){
	    $affix_line=sprintf("%s %s   %-5s %-11s %-24s %s",
				$myaffix, $flagname, $rootremove,
				$addtoroot, $rootname, $comment);
	} else {
	    $affix_line=sprintf("%s %s   %-5s %-11s %s",
				$myaffix, $flagname, $rootremove,
				$addtoroot, $rootname);
	}
	$rootremove = "0";
	$rootname   = '';
	$addtoroot  = '';
	$comment    = '';
	@comments   = ();
	push @flag_array,$affix_line;
	debugprint "$affix_line\n";
    } else {
	#
    }
}
shipoutflag;

close AFFIXFILE;

if ( $replacements ){
    &process_replacements($replacements);
}

__END__

=head1 NAME

B<ispellaff2myspell> - A program to convert ispell affix tables to myspell format.

=head1 SYNOPSIS

 ispellaff2myspell [options] <affixfile> --myheader your_header

   Options:

    --affixfile=s      Affix file
    --bylocale         Use current locale setup for upper/lowercase
                       conversion
    --charset=s        Use specified charset for upper/lowercase
                       conversion (defaults to latin1)
    --debug            Print debugging info
    --extraflags=s     Allow some non alphabetic flags
    --lowercase=s      Lowercase string
    --myheader=s       Header file
    --printcomments    Print commented lines in output
    --replacements=s   Replacements file
    --split=i          Split flags with more that i entries
    --uppercase=s      Uppercase string

=head1 DESCRIPTION

B<ispellaff2myspell> is a script that will convert ispell affix tables
to myspell format in a more or less successful way.

This script does not create the dict file. Something like

( echo `cat mydict.words+ | wc -l`; cat mydict.words+ ) > mydict.dict

should do the work, with mydict.words+ being the munched wordlist

=head1 OPTIONS

=over 8

=item B<--affixfile=s>

Affix file. You can put it directly in the command line.

=item B<--bylocale>

Use current locale setup for upper/lowercase conversion. Make sure
that the selected locale match the dictionary one, or you might get
into trouble.

=item B<--charset=s>

Use specified charset for upper/lowercase conversion (defaults to latin1).
Currently allowed values for charset are: latin0, latin1, latin2, latin3.

=item B<--debug>

Print some debugging info.

=item B<--extraflags:s>

Allows some non alphabetic flags.

When invoked with no value the supported flags are currently those
corresponding to chars represented with the escape char B<\> as
first char. B<\> will be stripped.

When given with the flag prefix will allow that flag and strip the
given prefix. Be careful when giving the prefix to properly escape chars,
e.g. you will need B<-e "\\\\"> or B<-e '\\'> for flags like B<\[> to be stripped to
B<[>. Otherwise you might even get errors. Use B<-e "^"> to allow all
flags and pass them unmodified.

You will need a call to -e for each flag type, e.g.,
B<-e "\\\\" -e "~\\\\"> (or B<-e '\\' -e '~\\'>).

When a prefix is explicitely set, the default value (anything starting by B<\>)
is disabled and you need to enable it explicitely as in previous example.

=item B<--lowercase=s>

Lowercase string. Manually set the string of lowercase chars. This
requires B<--uppercase> having exactly that string but uppercase.

=item B<--myheader=s>

Header file. The myspell aff header. You need to write it
manually. This can contain everything you want to be before the affix table

=item B<--printcomments>

Print commented lines in output.

=item B<--replacements=file>

Add a pre-defined replacements table taken from 'file' to the .aff file.
Will skip lines not beginning with REP, and set the replacements number
appropriately.

=item B<--split=i>

Split flags with more that i entries. This can be of interest for flags
having a lot of entries. Will split the flag in chunks containing B<i>
entries.

=item B<--uppercase=s>

Uppercase string. Manually set the sring of uppercase chars. This
requires B<--lowercase> having exactly that string but lowercase.

=back

If your encoding is currently unsupported you can send me a file with
the two strings of lower and uppercase chars. Note that they must match
exactly but case changed. It will look something like

  $lowercase='a-z������������������������������';
  $uppercase='A-Z������������������������������';

=head1 SEE ALSO

The OpenOffice.org Lingucomponent Project home page

L<http://lingucomponent.openoffice.org/index.html>

and the document

L<http://lingucomponent.openoffice.org/affix.readme>

that provides information about the basics of the myspell affix file format.

You can also take a look at

 /usr/share/doc/libmyspell-dev/affix.readme.gz
 /usr/share/doc/libmyspell-dev/README.compoundwords
 /usr/share/doc/libmyspell-dev/README.replacetable

in your Debian system.

=head1 AUTHORS

Agustin Martin <agustin.martin@hispalinux.es>

=cut


code:
#!/bin/sh
#
#    (C) 2008 Caolán McNamara <caolanm@redhat.com>
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

# This creates a LANG_TERRITORY .aff & .dic from a wordlist.
# It is only a simple wordlist spellchecking dictionary output, no
# knowledge of language rules can be extrapolated to shrink the
# wordlist or provide .aff rules for extending wordstems

if [ $# -lt 2 ]; then
    echo "Usage: wordlist2hunspell wordlist_file locale"
    echo "e.g. wordlist2hunspell breton.words br_FR to create br_FR.dic and br_FR.aff in cwd"
    exit 1
fi

export LANG=$2.utf8
echo "# A basic .aff for a raw wordlist, created through wordlist2hunspell" > $2.aff
echo SET UTF-8 >> $2.aff
#see https://bugzilla.redhat.com/show_bug.cgi?id=462184 for the "C" hacks
echo TRY `sed 's/./&\n/g' $1 | sed '/^$/d' | LC_ALL=C sort -n | LC_ALL=C uniq -c | LC_ALL=C sort -rn | tr -s ' ' | cut -d ' ' -f 3 | tr -d '\n'` >> $2.aff
cat $1 | sed '/^$/d' | wc -l > $2.dic
LC_ALL=C sort $1 | sed '/^$/d' >> $2.dic

echo Basic $2.dic and $2.aff created


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>hunspell</Name>
        <Homepage>http://hunspell.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MPL-1.1</License>
        <License>GPLv2</License>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        An improved spell checker
        <Description>hunspell spell checker is an improved replacement for myspell in Openoffice.org. It is also used in Firefox and Thunderbird as spell checker.</Description>
        <Archive sha1sum="6572d1459deafd358b886d4482c179b715bc92e8" type="targz">https://github.com/hunspell/hunspell/archive/v1.6.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>ncurses-devel</Dependency>
	    <Dependency>readline-devel</Dependency>
        </BuildDependencies>
        <Patches>

        </Patches>
    </Source>

    <Package>
        <Name>hunspell</Name>
        <RuntimeDependencies>
            <Dependency>ncurses</Dependency>
	    <Dependency>libgcc</Dependency>
	    <Dependency>readline</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="man">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile target="/usr/bin/ispellaff2myspell" permission="0755" owner="root">ispellaff2myspell</AdditionalFile>
            <AdditionalFile target="/usr/bin/wordlist2hunspell" permission="0755" owner="root">wordlist2hunspell</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>hunspell-devel</Name>
        Development files for hunspell
        <RuntimeDependencies>
            <Dependency release="current">hunspell</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="library">/usr/lib/*.a</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
	<Update release="4">
            <Date>2018-01-16</Date>
            <Version>1.6.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-02</Date>
            <Version>1.6.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.3.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-07-10</Date>
            <Version>1.3.3</Version>
            <Comment>First release</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>hunspell</Name>
        Gelişmiş imla denetleyici
        <Description xml:lang="tr">hunspell, OpenOffice.org'daki myspell yerine kullanılabilen gelişmiş bir imla denetleyicidir. Aynı zamanda, Firefox ve Thunderbird'de imla denetleyici olarak kullanılmaktadır.</Description>
    </Source>

    <Package>
        <Name>hunspell-devel</Name>
        hunspell için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools

def setup():
    cmaketools.configure("-DUSE_QT5=true \
                          -DCMAKE_INSTALL_PREFIX=/usr")

def build():
    cmaketools.make()

def install():
    cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("AUTHORS", "ChangeLog", "README.md", "NEWS", "COPYING")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qtspell</Name>
        <Homepage>https://github.com/manisandro/qtspell</Homepage>
        <Packager>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>GPL3</License>
        Spell checking for Qt text widgets
        <Description>QtSpell adds spell-checking functionality to Qt's text widgets, using the enchant spell-checking library.</Description>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>enchant-devel</Dependency>
            <Dependency>pkgconfig</Dependency>
            <Dependency>qt5-assistant-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-designer-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>glib2-devel</Dependency>
        </BuildDependencies>
        <Archive type="targz" sha1sum="2a6704fa75e3a1158ad8e53bbf95faf56929ca14">https://github.com/manisandro/qtspell/archive/0.8.4.tar.gz</Archive>
    </Source>
    <Package>
        <Name>qtspell</Name>
        Spell checking for Qt text widgets
        <RuntimeDependencies>
            <Dependency>qt5-base</Dependency>
            <Dependency>enchant</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/qt5/translations</Path>
            <Path fileType="data">/usr/include/QtSpell-qt5</Path>
            <Path fileType="data">/usr/share/doc</Path>
        </Files>
    </Package>
    <History>
        <Update release="2">
            <Date>2018-01-16</Date>
            <Version>0.8.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2017-02-09</Date>
            <Version>0.8.2</Version>
            <Comment>First Release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import kde5
from pisi.actionsapi import pisitools

def setup():
    kde5.configure()

def build():
    kde5.make()

def install():
    kde5.install()

    pisitools.dodoc("AUTHORS", "COPYING.LIB", "COPYING")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>zanshin</Name>
        <Homepage>http://zanshin.kde.org/</Homepage>
        <Packager>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>GPL</License>
        To-do management application for KDE 5 based on Akonadi
        <Description>Zanshin is a powerful yet simple application for managing your day to day actions. It helps you organize and reduce the cognitive pressure of what one has to do in his job and personal life. You'll never forget anything anymore, getting your mind like water.</Description>
        <BuildDependencies>
            <Dependency>boost-devel</Dependency>
            <Dependency>extra-cmake-modules</Dependency>
            <Dependency>kdelibs4-support-devel</Dependency>
            <Dependency>kdesignerplugin</Dependency>
            <Dependency>kdoctools-devel</Dependency>
            <Dependency>krunner-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>kldap-devel</Dependency>
            <Dependency>akonadi-calendar-devel</Dependency>
            <Dependency>kontactinterface-devel</Dependency>
            <Dependency>akonadi-notes-devel</Dependency>
            <Dependency>akonadi-search-devel</Dependency>
            <Dependency>kidentitymanagement-devel</Dependency>
            <Dependency>cyrus-sasl-devel</Dependency>
            <Dependency>akonadi-devel</Dependency>
            <Dependency>kitemmodels-devel</Dependency>
            <Dependency>kemoticons-devel</Dependency>
            <Dependency>kinit-devel</Dependency>
            <Dependency>kunitconversion-devel</Dependency>
            <Dependency>akonadi-contacts-devel</Dependency>
            <Dependency>akonadi-mime-devel</Dependency>
        </BuildDependencies>
        <Archive sha1sum="db4d34e047f3d3a61514b55de9f6153f7c5675c2" type="tarbz2">https://files.kde.org/zanshin/zanshin-0.4.1.tar.bz2</Archive>
    </Source>
    <Package>
        <Name>zanshin</Name>
        To-do management application for KDE 5 based on Akonadi
        <RuntimeDependencies>
            <Dependency>kio</Dependency>
            <Dependency>ki18n</Dependency>
            <Dependency>kldap</Dependency>
            <Dependency>kmime</Dependency>
            <Dependency>kparts</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>akonadi</Dependency>
            <Dependency>kcodecs</Dependency>
            <Dependency>kconfig</Dependency>
            <Dependency>krunner</Dependency>
            <Dependency>kwallet</Dependency>
            <Dependency>kxmlgui</Dependency>
            <Dependency>kcalcore</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>kcontacts</Dependency>
            <Dependency>kitemviews</Dependency>
            <Dependency>kcompletion</Dependency>
            <Dependency>kcoreaddons</Dependency>
            <Dependency>kitemmodels</Dependency>
            <Dependency>kjobwidgets</Dependency>
            <Dependency>akonadi-notes</Dependency>
            <Dependency>akonadi-search</Dependency>
            <Dependency>kconfigwidgets</Dependency>
            <Dependency>kwidgetsaddons</Dependency>
            <Dependency>akonadi-calendar</Dependency>
            <Dependency>akonadi-contacts</Dependency>
            <Dependency>kdelibs4-support</Dependency>
            <Dependency>kontactinterface</Dependency>
            <Dependency>kidentitymanagement</Dependency>
            <Dependency>kdepim-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/qt5</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    <History>
        <Update release="1">
            <Date>2017-01-08</Date>
            <Version>0.4.1</Version>
            <Comment>First Release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>