mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:47:16 +08:00
27 lines
705 B
Bash
27 lines
705 B
Bash
# 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
|
|
}
|