diff options
Diffstat (limited to 'community/perl-gtk2-trayicon/PKGBUILD')
-rw-r--r-- | community/perl-gtk2-trayicon/PKGBUILD | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/community/perl-gtk2-trayicon/PKGBUILD b/community/perl-gtk2-trayicon/PKGBUILD index d9b6e1c86..a4cdb9e76 100644 --- a/community/perl-gtk2-trayicon/PKGBUILD +++ b/community/perl-gtk2-trayicon/PKGBUILD @@ -1,24 +1,33 @@ -# $Id: PKGBUILD 35661 2010-12-21 23:29:25Z tdziedzic $ +# $Id: PKGBUILD 47733 2011-05-25 02:54:41Z tdziedzic $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Tom K <tomk@runbox.com> pkgname=perl-gtk2-trayicon pkgver=0.06 -pkgrel=6 +pkgrel=7 pkgdesc="Perl interface to the EggTrayIcon library" arch=('i686' 'x86_64') -url="http://search.cpan.org/dist/TrayIcon.html" +url="http://search.cpan.org/dist/Gtk2-TrayIcon/" 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) +options=('!emptydirs') +source=("http://downloads.sourceforge.net/sourceforge/gtk2-perl/Gtk2-TrayIcon-${pkgver}.tar.gz") md5sums=('522c328f14681a25d76eeaf317e05049') build() { - cd $srcdir/Gtk2-TrayIcon-$pkgver + cd Gtk2-TrayIcon-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete +} + +package() { + cd Gtk2-TrayIcon-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } |