Commit 13a7812d authored by Manuel's avatar Manuel

Âmove to pf

parent 8659850d
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=perl-text-charwidth
pkgver=0.04
pkgrel=1
pkgrel=2
pkgdesc="Perl/CPAN Module Text::CharWidth"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Text-CharWidth"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-$pkgver.tar.gz")
options=('!emptydirs')
source=("http://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-${pkgver}.tar.gz")
md5sums=('37a723df0580c0758c0ee67b37336c15')
build() {
cd $srcdir/Text-CharWidth-$pkgver
cd Text-CharWidth-${pkgver}
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
make install DESTDIR=$pkgdir
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}
package() {
cd Text-CharWidth-${pkgver}
make install DESTDIR=${pkgdir}
find ${pkgdir} -name '.packlist' -delete
find ${pkgdir} -name '*.pod' -delete
}
# Platform packages for Chakra
pkgname=perl-text-diff
_realname=Text-Diff
pkgver=1.41
pkgrel=1
pkgdesc="Perform diffs on files and record sets "
arch=('any')
url="http://search.cpan.org/dist/${_realname}"
license=('GPL' 'PerlArtistic')
depends=('perl-algorithm-diff>=1.1900')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/O/OV/OVID/${_realname}-${pkgver}.tar.gz)
md5sums=('30d56e6dd5551ca16b8e16cc7299dc21')
build() {
cd $srcdir/${_realname}-${pkgver}
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/${_realname}-${pkgver}
make install DESTDIR=$pkgdir
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment