PKGBUILDs/community/perl-gtk2-trayicon/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
841 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Tom K <tomk@runbox.com>
pkgname=perl-gtk2-trayicon
pkgver=0.06
pkgrel=3
pkgdesc="Perl interface to the EggTrayIcon library"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/TrayIcon.html"
depends=('gtk2-perl')
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
license=("GPL")
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Gtk2-TrayIcon-$pkgver.tar.gz)
md5sums=('522c328f14681a25d76eeaf317e05049')
build() {
cd $startdir/src/Gtk2-TrayIcon-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}