summaryrefslogtreecommitdiff
path: root/community/perl-gtk2-sexy/PKGBUILD
blob: f0f3c21e8909fe7c5591976864faeb9f49775b82 (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
# $Id: PKGBUILD 47716 2011-05-25 02:28:38Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Charles Mauch <cmauch@gmail.com>
# Creator: Florian Ragwitz <http://search.cpan.org/~/>

pkgname=perl-gtk2-sexy
pkgver=0.05
pkgrel=5
pkgdesc="Perl/CPAN Module Gtk2::Sexy"
arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Gtk2-Sexy"
license=('GPL' 'PerlArtistic')
depends=('gtk2' 'libsexy')
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends' 'gtk2-perl')
options=(docs !emptydirs)
source=("http://www.cpan.org/authors/id/F/FL/FLORA/Gtk2-Sexy-${pkgver}.tar.gz")
md5sums=('3e291808250d7b956ba8443013a1b461')

build() {
  cd Gtk2-Sexy-${pkgver}

  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 

  make 
}

package() {
  cd Gtk2-Sexy-${pkgver}

  make install DESTDIR=${pkgdir} 

  find ${pkgdir} -name '.packlist' -delete
  find ${pkgdir} -name '*.pod' -delete
}