4 pkgdesc="An irssi dbus notification script."
6 url="https://github.com/tuxjay/irsnot"
7 license=('MPL' 'GPL' 'LGPL')
8 depends=('perl-desktop-notify' 'irssi')
12 _gitroot="git://github.com/tuxjay/irsnot.git"
19 if [ -d $srcdir/${_gitname} ] ; then
20 msg "Git checkout: Updating existing tree"
21 cd ${_gitname} && git pull origin || return 1
22 msg "Git checkout: Tree has been updated"
24 msg "Git checkout: Retrieving sources"
25 git clone ${_gitroot} || return 1
27 msg "Checkout completed"
31 cd $srcdir/${_gitname}
32 mkdir -p "$pkgdir/usr/share/irssi/scripts/"
33 mkdir -p "$pkgdir/usr/share/doc/irssi/"
34 cp irsnot.pl "$pkgdir/usr/share/irssi/scripts/"
35 cp irsnotrc.sample "$pkgdir/usr/share/doc/irssi/"