Pobshare/ArchLinux/PKGBUILD
# Maintainer: Fabio Di Matteo <pobfdm@gmail.com>
pkgname=pobshare
pkgver=0.2
pkgrel=1
pkgdesc="A simple gui for share files. "
arch=('any')
url="https://www.freemedialab.org/code/project.php?p=Pobshare"
license=('GPL')
depends=('python-wxpython' 'python-pyftpdlib' 'python-pyopenssl')
conflicts=('pobshare')
source=('https://www.freemedialab.org/code/tmp/Pobshare.zip')
md5sums=('SKIP') #generate with 'makepkg -g'
package() {
mkdir -p "$pkgdir/usr/bin/"
mkdir -p "$pkgdir/usr/lib/pobshare/"
mkdir -p "$pkgdir/usr/share/applications"
cp "$srcdir/pobshare" "$pkgdir/usr/bin/"
chmod +x "$pkgdir/usr/bin/pobshare"
cp -R "$srcdir/icons/" "$pkgdir/usr/lib/pobshare/"
cp -R "$srcdir/locale/" "$pkgdir/usr/lib/pobshare/"
cp -R "$srcdir/gui/" "$pkgdir/usr/lib/pobshare/"
cp "$srcdir/"*.py "$pkgdir/usr/lib/pobshare/"
cp "$srcdir/"*.desktop "$pkgdir/usr/share/applications/"
}