summaryrefslogtreecommitdiff
path: root/community-staging/perl-file-rsyncp/PKGBUILD
blob: 9cc61aad8e6429903ccbbc8665260214d4d0af1b (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
# $Id: PKGBUILD 71205 2012-05-24 22:17:08Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>

pkgname=perl-file-rsyncp
pkgver=0.70
pkgrel=2
pkgdesc='Perl interface to rsync file list encoding and decoding'
arch=('i686' 'x86_64')
license=('GPL' 'PerlArtistic')
options=('!emptydirs' '!makeflags')
url='http://search.cpan.org/dist/File-RsyncP'
source=("http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/File-RsyncP-$pkgver.tar.gz")
md5sums=('f244372d15a2991b8700f62e73ac51e4')

build() {
  cd File-RsyncP-$pkgver
  USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd File-RsyncP-$pkgver
  make test
}

package() {
  cd File-RsyncP-$pkgver
  make install DESTDIR="$pkgdir/"
}

# vim:set ts=2 sw=2 ft=sh et: