1 # Maintainer: Fat German <fatgerman [at] gmail [dot] com>
2 # Contributor: der_FeniX <derfenix [at] gmail [dot] com>
7 pkgdesc="Backup system that makes your disc bigger on the inside than on the outside"
9 url="http://sourceforge.net/p/ktardis/wiki/Home/"
10 license=(custom:"SpongWare")
11 depends=('python2' 'perl' 'perl-datetime' 'perl-filesys-df')
12 source=(http://sourceforge.net/projects/ktardis/files/${pkgname}-${pkgver}.zip/download)
13 md5sums=('d8a363031f27af0e42ed78b39b2d6158')
18 install -dm755 ${pkgdir}/usr/share/apps/plasma/plasmoids/tardis || return 1
19 cp -R {contents,metadata.desktop} ${pkgdir}/usr/share/apps/plasma/plasmoids/tardis || return 1
20 install -Dm644 metadata.desktop ${pkgdir}/usr/share/kde4/services/plasma-applet-tardis.desktop || return 1
21 cd ${pkgdir}/usr/share/apps/plasma/plasmoids/tardis/contents/code
25 --- main.py 2012-01-07 01:56:12.871416735 +0400
26 +++ main.py.new 2012-01-07 01:56:27.867988301 +0400
28 from crontab import CronTab
31 +from subprocess import CalledProcessError
36 ) > ${srcdir}/patch.patch
38 patch -p0 <${srcdir}/patch.patch || return 1
40 echo "#!/usr/bin/python2"|cat - ${pkgdir}/usr/share/apps/plasma/plasmoids/tardis/contents/code/main.py > /tmp/out && mv /tmp/out ${pkgdir}/usr/share/apps/plasma/plasmoids/tardis/contents/code/main.py || return 1
41 echo "#!/usr/bin/python2"|cat - ${pkgdir}/usr/share/apps/plasma/plasmoids/tardis/contents/code/tardis.py > /tmp/out && mv /tmp/out ${pkgdir}/usr/share/apps/plasma/plasmoids/tardis/contents/code/tardis.py
42 echo "#!/usr/bin/python2"|cat - ${pkgdir}/usr/share/apps/plasma/plasmoids/tardis/contents/code/crontab.py > /tmp/out && mv /tmp/out ${pkgdir}/usr/share/apps/plasma/plasmoids/tardis/contents/code/crontab.py
46 This program is SpongWare.
47 The use of SpongWare is entirely according to the following conditions:
48 1) You may use it or not, I don't care. Just don't winge at me, I hate that
49 2) It is provided 'as is'. Nobody is responsible for anything it might or might not do.
50 Take your lawyers and stuff 'em up your USB port
51 3) You may distribute it freely, although I would advise against printing it out and
52 throwing it out of the window, that stuff gets you fined
53 4) You may alter it if you wish, and distribute the altered version if you wish but
54 you must include this license
55 5) Before installing this software, smile at someone you like
57 7) This notice must be included with any copy of the software you distribute
58 8) Adherence to 'coding standards' is to be regarded with suspicion.
59 9) Let me reiterate clause 2. If this program goes wrong in any way, for example
60 it deletes all your data or perhaps it wipes the entire internet overnight and
61 leaves the world a dead place, nobody is responsible. Deal with it.
62 Sometimes, shit happens
65 install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"