summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e962a4d7313961fe73c334f639863cb0c2897d5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer:  Michael Kogan <michael dot kogan at gmx dot net>
# Contributor: Brian Bidulock <bidulock@openss7.org>

pkgname=perl-gtk2-notify
pkgver=0.05
pkgrel=13
pkgdesc="Perl interface to libnotify"
arch=('i686' 'x86_64')
url="http://search.cpan.org/perldoc?Gtk2::Notify"
license=('LGPL')
depends=('gtk2-perl' 'libnotify' 'perl-extutils-pkgconfig' 
'perl-extutils-depends')
source=(http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Gtk2-Notify-$pkgver.tar.gz libnotify.patch)
md5sums=('071144ad4a5670b8b2451baf358c4a88' 'c54d841861c9adfaa77b80bdf9cb0f98')

build() {
    cd "$srcdir"
    patch -p 0 <libnotify.patch
    cd "$srcdir/Gtk2-Notify-$pkgver"
    perl Makefile.PL INSTALLDIRS=vendor
    make || return 1
}
package() {
    cd "$srcdir/Gtk2-Notify-$pkgver"
    make DESTDIR=$pkgdir install || return 1
}