summaryrefslogtreecommitdiff
path: root/community/perl-xmms/PKGBUILD
blob: 053086167de7819560914f59ce9d4020b01dcb1f (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 47561 2011-05-23 19:55:02Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Georg Grabler <ggrabler@gmail.com>

pkgname=perl-xmms
pkgver=0.12
pkgrel=6
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
}