blob: 9a60b03dad2eead82d4b2dd942b6fdf34f8b86cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-file-rsync
_realname=File-RsyncP
pkgver=0.70
pkgrel=4
pkgdesc="Perl rsync client"
url="http://search.cpan.org/~cbarratt/File-RsyncP-0.68/"
arch="all"
license="GPL PerlArtistic"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/$_realname-$pkgver.tar.gz
perl-file-rsync-parallell-build-fix.patch
"
builddir="$srcdir/$_realname-$pkgver"
build() {
cd $builddir
update_config_guess || return 1
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make config && make || return 1
}
package() {
cd $builddir
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="f244372d15a2991b8700f62e73ac51e4 File-RsyncP-0.70.tar.gz
402df47ad01369de0ffc75754529d6e4 perl-file-rsync-parallell-build-fix.patch"
sha256sums="d4f6127650393a65ed7d66d14b3a126827c99e8422c3cf205481a9f7ebce9994 File-RsyncP-0.70.tar.gz
e94d6348d9a625f59ae3fd1e0de4dea5acae7e20a91ebb818633a37c2a95ac23 perl-file-rsync-parallell-build-fix.patch"
sha512sums="fdc04e2e9280be26578ff6bb7ca80f43408dd6709297ab138ca708f79282e6b9bc3433c35f0841c5dab42302403262c67b177cc4889b85a3c5417a295c047dc0 File-RsyncP-0.70.tar.gz
1b7ddad9d13bcad01760048670545d893c6eb9c0ed3bbb33b80f9c1520aea682c98233efeafa2f6de12e4b86de5895c648a67dfb2402d9877b428df3b06da972 perl-file-rsync-parallell-build-fix.patch"
|