ports/contrib (3.3): p5-gtk2-notify: initial commit
commit 42538f77225bd26b0f3b453d9a3be5110f502f97 Author: Alexandr Savca <alexandr.savca89@gmail.com> Date: Sat Mar 31 22:38:36 2018 +0300 p5-gtk2-notify: initial commit diff --git a/p5-gtk2-notify/.footprint b/p5-gtk2-notify/.footprint new file mode 100644 index 00000000..218cd970 --- /dev/null +++ b/p5-gtk2-notify/.footprint @@ -0,0 +1,24 @@ +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.24/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Gtk2/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Gtk2/Notify.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Gtk2/Notify.pod +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Gtk2/Notify/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Gtk2/Notify/Install/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Gtk2/Notify/Install/Files.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Gtk2/Notify/Install/notify-autogen.h +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Gtk2/Notify/Install/notify.typemap +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Gtk2/Notify/index.pod +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/Gtk2/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/Gtk2/Notify/ +-rwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/Gtk2/Notify/Notify.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/ +-rw-r--r-- root/root usr/share/man/man3/Gtk2::Notify.3pm.gz +-rw-r--r-- root/root usr/share/man/man3/Gtk2::Notify::index.3pm.gz diff --git a/p5-gtk2-notify/.md5sum b/p5-gtk2-notify/.md5sum new file mode 100644 index 00000000..a2d2af50 --- /dev/null +++ b/p5-gtk2-notify/.md5sum @@ -0,0 +1,2 @@ +071144ad4a5670b8b2451baf358c4a88 Gtk2-Notify-0.05.tar.gz +ebbbaf88eea8d111da37ffd4bb90b7d7 libnotify.patch.gz diff --git a/p5-gtk2-notify/.signature b/p5-gtk2-notify/.signature new file mode 100644 index 00000000..b817bff6 --- /dev/null +++ b/p5-gtk2-notify/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF30kGi1wh5CAcBp7tYfUgai9kgSJu3oyob3xiOLtu/Z0bMWvv0oSB5/EgoOXqnJwEycljteuiwhBGC2jOMePkiwI= +SHA256 (Pkgfile) = b77271c21ac0d80668ef7bc113e0a0e046a8ba21f2603f99d0dbf754e7720828 +SHA256 (.footprint) = bf5806092bea32b93407039a464c5e3551c3a903667c7b842abd48b467b1b771 +SHA256 (Gtk2-Notify-0.05.tar.gz) = 88189ae68dfbd54615ad133df07e2ec8048d06d8b9586add1227d74eb2ebb047 +SHA256 (libnotify.patch.gz) = 23b27df89d00fe9345bcfc7acb19b853baa289762e5a9cdecb88d8cdc71dff2e diff --git a/p5-gtk2-notify/Pkgfile b/p5-gtk2-notify/Pkgfile new file mode 100644 index 00000000..befc1d34 --- /dev/null +++ b/p5-gtk2-notify/Pkgfile @@ -0,0 +1,29 @@ +# Description: Perl interface to libnotify +# URL: https://metacpan.org/pod/Gtk2::Notify +# Maintainer: Alexandr Savca, alexandr dot savca89 at gmail dot com +# Depends on: dbus libnotify p5-gtk2 p5-net-dbus + +name=p5-gtk2-notify +version=0.05 +release=1 +source=(https://cpan.metacpan.org/authors/id/F/FL/FLORA/Gtk2-Notify-$version.tar.gz + libnotify.patch.gz) + +build() { + cd Gtk2-Notify-$version + + gunzip -c $SRC/libnotify.patch.gz | patch -p0 + + perl Makefile.PL + make OPTIMIZE="$CFLAGS" + make DESTDIR=$PKG install + + find $PKG -name perllocal.pod \ + -o -name "*.bs" \ + -o -name .packlist \ + -o -name autosplit.ix \ + | xargs rm -f + + find $PKG -depth -type d -empty -delete + find $PKG -type f -a -perm -u-w | xargs chmod u+w +} diff --git a/p5-gtk2-notify/libnotify.patch.gz b/p5-gtk2-notify/libnotify.patch.gz new file mode 100644 index 00000000..7994eb31 Binary files /dev/null and b/p5-gtk2-notify/libnotify.patch.gz differ
participants (1)
-
crux@crux.nu