blob: 5c5ce782f91acbb6af0ce78273459bb6d0ec3186 (
plain)
1 # Description: Perl interface to libnotify
2 # URL: https://metacpan.org/pod/Gtk2::Notify
3 # Maintainer: John Vogel, jvogel4 at stny dot rr dot com
4 # Packager: unmaintained
5 # Depends on: libnotify p5-gtk2 p5-net-dbus
6
7 name=p5-gtk2-notify
8 version=0.05
9 release=1
10 source=(https://cpan.metacpan.org/authors/id/F/FL/FLORA/Gtk2-Notify-$version.tar.gz
11 libnotify.patch.gz makefile.patch.gz)
12
13 build() {
14 cd Gtk2-Notify-$version
15
16 gunzip -c $SRC/libnotify.patch.gz | patch -p0
17 gunzip -c $SRC/makefile.patch.gz | patch -p1
18
19 perl Makefile.PL
20 make OPTIMIZE="$CFLAGS"
21 make DESTDIR=$PKG install
22
23 find $PKG -name perllocal.pod \
24 -o -name "*.bs" \
25 -o -name .packlist \
26 -o -name autosplit.ix \
27 | xargs rm -f
28
29 find $PKG -depth -type d -empty -delete
30 find $PKG -type f -a -perm -u-w | xargs chmod u+w
31 }
|