summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1d0ba159cb19ad978715227f16f0ba50ab07421e (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
# $Id$
# Maintainer: PhotonX <photon89@googlemail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=gnomecanvas-perl
_realname=Gnome2-Canvas
pkgver=1.006
pkgrel=1
pkgdesc="Gnome2-Canvas perl bindings for libgnomecanvas"
arch=('i686' 'x86_64')
license=('LGPL')
url="https://metacpan.org/pod/Gnome2::Canvas"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
depends=('gtk2-perl' 'libgnomecanvas' 'perl')
options=(!emptydirs)
source=(https://cpan.metacpan.org/authors/id/X/XA/XAOC/Gnome2-Canvas-${pkgver}.tar.gz)
md5sums=('61176cad7e995ec40b273766ffed3592')

build() {
  cd "${srcdir}/${_realname}-${pkgver}"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 
  PERL_USE_UNSAFE_INC=1 make
}

package() {
  cd "${srcdir}/${_realname}-${pkgver}"
  make install DESTDIR="${pkgdir}"
}