diff options
Diffstat (limited to 'community/perl-net-dbus/PKGBUILD')
-rw-r--r-- | community/perl-net-dbus/PKGBUILD | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/community/perl-net-dbus/PKGBUILD b/community/perl-net-dbus/PKGBUILD index ebb396310..a7307c2a8 100644 --- a/community/perl-net-dbus/PKGBUILD +++ b/community/perl-net-dbus/PKGBUILD @@ -1,24 +1,32 @@ -# $Id: PKGBUILD 35694 2010-12-22 01:22:55Z tdziedzic $ +# $Id: PKGBUILD 47599 2011-05-23 20:48:03Z tdziedzic $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Francois Charette <firmicus@gmx.net> pkgname=perl-net-dbus pkgver=0.33.6 -pkgrel=5 +pkgrel=6 pkgdesc="Binding for DBus messaging protocol" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/Net-DBus" license=('GPL' 'PerlArtistic') depends=('dbus' 'perl-xml-twig') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DA/DANBERR/Net-DBus-$pkgver.tar.gz) +source=("http://www.cpan.org/authors/id/D/DA/DANBERR/Net-DBus-${pkgver}.tar.gz") md5sums=('a1dbce89b1b839fd0e46d74067ae2e35') build() { - cd $srcdir/Net-DBus-$pkgver + cd Net-DBus-${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 Net-DBus-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } |