[arch-commits] CVS update of extra/multimedia/slimserver (PKGBUILD)
Tom Killian
tom at archlinux.org
Sat Mar 29 16:51:36 UTC 2008
Date: Saturday, March 29, 2008 @ 12:51:36
Author: tom
Path: /home/cvs-extra/extra/multimedia/slimserver
Modified: PKGBUILD (1.12 -> 1.13)
upgpkg: slimserver v6.5.4-2
perl 5.10.0 rebuild
----------+
PKGBUILD | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
Index: extra/multimedia/slimserver/PKGBUILD
diff -u extra/multimedia/slimserver/PKGBUILD:1.12 extra/multimedia/slimserver/PKGBUILD:1.13
--- extra/multimedia/slimserver/PKGBUILD:1.12 Wed Aug 22 13:06:34 2007
+++ extra/multimedia/slimserver/PKGBUILD Sat Mar 29 12:51:35 2008
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.12 2007/08/22 17:06:34 tom Exp $
+# $Id: PKGBUILD,v 1.13 2008/03/29 16:51:35 tom Exp $
# Maintainer: Tom Killian <tom at archlinux.org>
# N.B. Slimserver does not work with YAML::Syck > 0.64, so I'm bundling it to avoid
@@ -6,7 +6,7 @@
pkgname=slimserver
pkgver=v6.5.4
-pkgrel=1
+pkgrel=2
pkgdesc="Powerful streaming audio server from Slim Devices"
depends=('perl-compress-zlib' 'perl-dbd-mysql' 'perl-html-parser'
'perl-digest-sha1' 'perl-template-toolkit' 'perlxml')
@@ -31,18 +31,15 @@
# Building YAML::Syck
cd $startdir/src/YAML-Syck-0.64
- eval `perl -V:archname`
- # Force module installation to "current" perl directories.
- /usr/bin/perl Makefile.PL \
- INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
- INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
- INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
- /usr/bin/make || return 1
- /usr/bin/make DESTDIR=$startdir/pkg install
- # remove *.pod, .packlist, and empty dirs:
- /usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \;
- /usr/bin/find $startdir/pkg -name '*.pod' -exec rm '{}' \;
- /usr/bin/find $startdir/pkg -depth -type d -empty -exec rmdir '{}' \;
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make install DESTDIR=${startdir}/pkg || return 1
+
+ # remove perllocal.pod and .packlist
+ find ${startdir}/pkg -name perllocal.pod -delete
+ find ${startdir}/pkg -name .packlist -delete
+
}
md5sums=('6ffa0002b47dc6a77649289a3ad7f8b9'
'51054b5da582e381158f10276f82ae15'
More information about the arch-commits
mailing list