summaryrefslogtreecommitdiff
path: root/community/perl-xmms/PKGBUILD
blob: 3291dc2bcbe4a06ed6b282090a9a6f2df282ba7f (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 71843 2012-06-02 10:32:38Z 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
}