mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
39 lines
988 B
Bash
39 lines
988 B
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=perl-text-diff
|
|
_pkgname=Text-Diff
|
|
pkgver=1.37
|
|
pkgrel=2
|
|
pkgdesc="Perl module to provide a basic set of services akin to the GNU diff utility."
|
|
arch=('i686' 'x86_64')
|
|
license=('PerlArtistic' 'GPL')
|
|
options=('!emptydirs')
|
|
depends=('perl' 'perl-algorithm-diff')
|
|
url='http://search.cpan.org/~adamk/Text-Diff/'
|
|
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgname-$pkgver.tar.gz")
|
|
md5sums=('52c1cba785ecfbbca242b57742173665')
|
|
|
|
build() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
make install DESTDIR="$pkgdir/"
|
|
|
|
# Remove perllocal.pod and .packlist:
|
|
find "$pkgdir" -name perllocal.pod -delete
|
|
find "$pkgdir" -name .packlist -delete
|
|
}
|