updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / unidata-decoders-perl / PKGBUILD
blob695513cdf962a9aec1dc92a7d9e3adf0a649cd28
1 # Contributor: Graziano Giuliani <giuliani@lamma.rete.toscana.it>
3 pkgname=unidata-decoders-perl
4 pkgver=5.0.0
5 pkgrel=1
6 pkgdesc="Unidata various data format decoders"
7 url="http://www.unidata.ucar.edu/software/decoders"
8 license="custom"
9 arch=(i686 x86_64)
10 depends=(perl)
11 makedepends=(gcc)
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 install=
17 source=(ftp://ftp.unidata.ucar.edu/pub/decoders/perlDecoders-$pkgver.tar.gz)
18 md5sums=('01fe67169120500771d6fc587367e82a')
20 build() {
21   cd $startdir/src/perlDecoders-$pkgver/src
22   make || return 1
23   make exec-prefix=$startdir/pkg/usr prefix=$startdir/pkg/usr \
24        DESTDIR=$startdir/pkg ETCDIR=$startdir/pkg/usr/share/$pkgname \
25        MANDIR=$startdir/pkg/usr/man BINDIR=$startdir/pkg/usr/bin \
26        install || return 1
27   mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
28   install $startdir/src/perlDecoders-$pkgver/src/COPYRIGHT \
29           $startdir/pkg/usr/share/licenses/$pkgname/LICENSE