summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b4e9b215e437b75338f7d44cbd4d60ac35748bc (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Maintainer: Peter Pickford <arch@netremedies.ca>
# Contributor: Peter Pickford <arch@netremedies.ca>
# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab

_author=S/SE/SETHJ
_perlmod=Audio-DSP
_oldver=0.02
pkgname=perl-audio-dsp
pkgver=0.03
pkgrel=1
pkgdesc='Audio::DSP is built around the OSS (Open Sound System) API and allows
    perl to interface with a digital audio device. The Audio::DSP object
    stores I/O parameters and also supplies temporary storage for raw
    audio data.'
arch=('any')
url="http://search.cpan.org/~sethj/Audio-DSP"
license=('GPL' 'PerlArtistic')
groups=()
depends=(
perl
)
makedepends=(
perl
)
optdepends=()
provides=(
perl-audio-dsp
)
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$_oldver.tar.gz"
'vocp-0.02b.patch'
)
noextract=()

build(){
  cd "$srcdir/$_perlmod-$_oldver"

  # Install module in vendor directories.
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}
check(){
  cd "$srcdir/$_perlmod-$_oldver"
  #make test
}
package(){
  cd "$srcdir/$_perlmod-$_oldver"
  make install DESTDIR="$pkgdir/"
  # remove perllocal.pod and .packlist
  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
md5sums=('7c3027a732d14665d4ffec0aff4b548e'
         '737235cc9a2fd353b239efb06efd782a')