summaryrefslogtreecommitdiff
path: root/community/perl-xmms/PKGBUILD
blob: 22e873998a926dd87c375195afc9ceb09e1719c3 (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 35727 2010-12-22 01:34:30Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Georg Grabler <ggrabler@gmail.com>

pkgname=perl-xmms
pkgver=0.12
pkgrel=5
pkgdesc="Bundle::Xmms - Bundle for xmms remote control shell"
arch=('i686' 'x86_64' 'mips64el')
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
}