p5-gtk2-trayicon: initial commit, v0.06

This commit is contained in:
Alexandr Savca 2020-11-22 12:51:52 +02:00
parent ad0017e9ab
commit 503f2f5574
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,21 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/perl5/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Gtk2/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Gtk2/TrayIcon.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Gtk2/TrayIcon/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Gtk2/TrayIcon/Install/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Gtk2/TrayIcon/Install/Files.pm
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Gtk2/TrayIcon/Install/trayicon-autogen.h
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Gtk2/TrayIcon/Install/trayicon.typemap
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Gtk2/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Gtk2/TrayIcon/
-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Gtk2/TrayIcon/TrayIcon.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man3/
-r--r--r-- root/root usr/share/man/man3/Gtk2::TrayIcon.3pm.gz

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39ccMLx841feZoGsMyEhYAgPPkOS4+vPrXg9enCgKQEeEcHr6kpz6XoYwlaPMOseZJlcjS+d0k2qZVRTcnm/wA0=
SHA256 (Pkgfile) = eb425ec1bd527cecaf9743705f07f415bc9548fdc5391ea5b2ea6eaee25daf53
SHA256 (.footprint) = 6d1ba822e606c7cccc7df27bec2d670e046c758647f8509b03806feacbe2647a
SHA256 (Gtk2-TrayIcon-0.06.tar.gz) = cbb7632b75d7f41554dfe8ee9063dbfd1d8522291077c65d0d82e9ceb5e94ae2

32
p5-gtk2-trayicon/Pkgfile Normal file
View File

@ -0,0 +1,32 @@
# Description: Perl interface to the EggTrayIcon library
# URL: https://metacpan.org/pod/Gtk2::TrayIcon
# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
# Depends on: p5-gtk2 p5-module-install
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
# remove default -pipe flag
sed -i -e '/CCFLAGS = /s/ -pipe / /' Makefile
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
# remove perlcrap
find $PKG \
-name perllocal.pod \
-o -name "*.bs" \
-o -name autosplit.ix \
-o -name .packlist \
| xargs rm -f
# remove empty dirs
find $PKG -depth -type d -empty -delete
}