updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / subdownloader-bzr / PKGBUILD
blob04d22dc0e09e2187a7100f9246831adfac7ddb06
1 #Contributor: Hugo Barros <kuvalski@gmail.com>
3 pkgname=subdownloader-bzr
4 pkgver=20080917
5 pkgrel=2
6 pkgdesc="This is the Bazzar branch of SubDownloader."
7 arch=('i686' 'x86_64')
8 url="https://launchpad.net/subdownloader"
9 license=('GPL')
10 depends=('python' 'mmpython' 'pyqt' )
11 makedepends=('bzr')
12 provides=('subdownloader')
13 conflicts=('subdownloader')
14 source=()
15 md5sums=()
18 build() {
19   
20   cd ${startdir}/src
22   bzr branch lp:subdownloader
24   cd ${startdir}/src/subdownloader
26   install -Dm755 run.py ${startdir}/pkg/usr/share/subdownloader/run.py
27   install -Dm644 subdownloader.desktop  ${startdir}/pkg/usr/share/applications/subdownloader.desktop
28   mkdir ${startdir}/pkg/usr/share/subdownloader
29   rm subdownloader.desktop run.py
30   rm -r distribution
32   cp -R * ${startdir}/pkg/usr/share/subdownloader
33   mkdir -p ${startdir}/pkg/usr/bin/
34   ln -s ${startdir}/pkg/usr/share/subdownloader/run.py ${startdir}/pkg/usr/bin/subdownloader
37 # vim:set ts=2 sw=2 et: