summaryrefslogtreecommitdiff
path: root/community/perl-xmms/PKGBUILD
blob: 1c2acdfd06b152eb38c4dd9bee032eb7b2f1b446 (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 91704 2013-05-26 09:26:24Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Georg Grabler <ggrabler@gmail.com>

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