28 lines
838 B
Plaintext
28 lines
838 B
Plaintext
# Description: Perl interface to the EggTrayIcon library
|
|
# URL: https://metacpan.org/pod/Gtk2::TrayIcon
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
|
# Maintainer: Alexandr Savca, alexandr dot savca89 at gmail dot com
|
|
# Depends on: p5-gtk2
|
|
|
|
name=p5-gtk2-trayicon
|
|
version=0.06
|
|
release=1
|
|
source=(https://cpan.metacpan.org/authors/id/B/BO/BORUP/Gtk2-TrayIcon-$version.tar.gz)
|
|
|
|
build () {
|
|
cd Gtk2-TrayIcon-$version
|
|
perl Makefile.PL
|
|
|
|
make OPTIMIZE="$CFLAGS"
|
|
make DESTDIR=$PKG install
|
|
|
|
find $PKG -name perllocal.pod \
|
|
-o -name "*.bs" \
|
|
-o -name autosplit.ix \
|
|
-o -name .packlist \
|
|
| xargs rm -f
|
|
|
|
find $PKG -depth -type d -empty -delete
|
|
find $PKG -type f -a -perm -u-w | xargs chmod u+w
|
|
}
|