| 1 | # Maintainer: Thomas Mudrunka <harvie@@email..cz> |
| 2 | # Contributor: Thomas Mudrunka <harvie@@email..cz> |
| 3 | # You can also contact me on http://blog.harvie.cz/ |
| 4 | |
| 5 | pkgname=gtk-gnutella-upnp |
| 6 | pkgver=1.1 |
| 7 | pkgrel=1 |
| 8 | pkgdesc="Small wrapper to automatically enable upnp port-forwarding for gtk-gnutella (doesn't work with port randomizing)" |
| 9 | arch=('any') |
| 10 | license=('GPL') |
| 11 | url="http://gtk-gnutella.sourceforge.net/" |
| 12 | depends=(gtk-gnutella miniupnpc) |
| 13 | source=("gtk-gnutella-upnp.sh" "gtk-gnutella-upnp.desktop") |
| 14 | md5sums=('a6c682400f582def99e99e0834d004d9' |
| 15 | 'a80c6de2b89bd3f2d13dca3869c81c27') |
| 16 | |
| 17 | build() { |
| 18 | mkdir -p ${pkgdir}/usr/bin |
| 19 | cp ${srcdir}/gtk-gnutella-upnp.sh ${pkgdir}/usr/bin/gtk-gnutella-upnp |
| 20 | mkdir -p ${pkgdir}/usr/share/applications |
| 21 | cp ${srcdir}/gtk-gnutella-upnp.desktop ${pkgdir}/usr/share/applications/ |
| 22 | chmod -R 755 ${pkgdir} |
| 23 | } |