summaryrefslogtreecommitdiff
path: root/community-testing/perl-xmms/PKGBUILD
blob: 8aa743b34b12cafb94e92e0be66fde03a1e33bce (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 71464 2012-05-27 07:42:31Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Georg Grabler <ggrabler@gmail.com>

pkgname=perl-xmms
pkgver=0.12
pkgrel=8
pkgdesc="Bundle::Xmms - Bundle for xmms remote control shell"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~dougm/Xmms-Perl/"
depends=('perl' 'xmms' 'libxxf86dga')
license=('GPL' 'PerlArtistic')
source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOUGM/Xmms-Perl-${pkgver}.tar.gz")
md5sums=('d1fbf6d09330f7855dd80f3ceee8e6f7')

build() {
  cd Xmms-Perl-${pkgver}

  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 

  make
}

package() {
  cd Xmms-Perl-${pkgver}

  make DESTDIR=${pkgdir} install

  find ${pkgdir} -name '.packlist' -delete
  find ${pkgdir} -name '*.pod' -delete
}