updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / easy-union / PKGBUILD
blobe5f61bfd78fe8370c0d3da3ac72e9424ac28295a
1 # Maintainer: Jonathan Lestrelin <zanko@daemontux.org>
3 pkgname=easy-union
4 pkgver=0.4~bzr163
5 pkgrel=1
6 pkgdesc="Utility to make the content of multiple directories available in a single one (through persistent unionfs mount points)."
7 arch=('any')
8 url="https://launchpad.net/nautilus-easy-unionfs"
9 license=('GPL')
10 depends=('bindfs' 'unionfs-fuse' 'pyinotify' 'python-nautilus' 'pygtk' 'python2-gconf')
11 optdepends=('python-notify')
12 source=("http://ppa.launchpad.net/zanko/daemontux-stuff/ubuntu/pool/main/e/${pkgname}/${pkgname}_${pkgver}_all.deb")
13 md5sums=('5e4f6bfd6ee69cc888b8fa871df0946e')
15 package() {
16         cd "${pkgdir}" &&
17         tar -xzf "${srcdir}/data.tar.gz" &&
18         # Fix license path
19         sed -ie "s#/usr/share/common-licenses/GPL-3#/usr/share/licenses/common/GPL3/license.txt#g" ${pkgdir}/usr/share/easyunion/functions.py &&
20         # Fix unionfs-fuse binary name
21         ln -sf "/usr/bin/unionfs" "${pkgdir}/usr/bin/unionfs-fuse" ||
22         return 1