updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mpd-dynamic / PKGBUILD
blob3b782a5c70d4b5a761ac602e918912f63cdae76f
1 # Maintainer: bal <b.vajdics[at]gmail[dot]com>
2 # Contributor: xduugu
3 _author=jquelin
4 _perlmod=Audio-MPD
5 pkgname=mpd-dynamic
6 pkgver=1.113280
7 pkgrel=1
8 pkgdesc="A dynamic playlist for mpd"
9 arch=('i686' 'x86_64')
10 url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
11 license=('GPL' 'PerlArtistic')
12 groups=()
13 depends=("perl-audio-mpd=$pkgver" 'perl-getopt-euclid' 'perl-proc-daemon')
14 makedepends=()
15 provides=()
16 conflicts=()
17 replaces=()
18 backup=()
19 options=('!emptydirs')
20 install=
21 source=(http://cpan.perl.org/modules/by-authors/id/J/JQ/JQUELIN/$_perlmod-$pkgver.tar.gz) 
22 md5sums=('97c98dbc8aa9d2b99bb88e274a69f39d')
23 sha256sums=('5772566c9428cfa3ff06def036b5589424f7594ee1633f6c46f43c84d8f538dc')
25 build() {
26   cd "$srcdir/$_perlmod-$pkgver"
27   perl Build.PL installdirs=vendor destdir="$pkgdir/"
28   perl Build
31 package() {
32   cd "$srcdir/$_perlmod-$pkgver"
33   perl Build install
35   # remove all files not necessary for mpd-dynamic
36   find "$pkgdir" -type f ! -name "*mpd-dynamic*" -delete
39 # vim:set ts=2 sw=2 et: