blob: f7d1fac31f860f93f129caeb906a9cf85e0b3dbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
pkgname=thea-git
_pkgname=thea
pkgver=20140105
pkgrel=3
pkgdesc="A simple backup tool for desktop computers"
arch=('any')
url="https://projects.kde.org/projects/playground/base/kio-mtp"
license=('BSD')
depends=('rsnapshot' 'zsh' 'yad' 'sudo' 'gksu' 'colordiff')
makedepends=('make')
conflicts=('thea')
provides=('thea')
install="config.install"
_gitroot="https://github.com/plp13/$_pkgname"
_gitname="$_pkgname"
build() {
cd $srcdir
if [ -d $_gitname ]
then
rm -fr $_gitname
fi
git clone $_gitroot $_gitname --depth=1
cd $srcdir/$_gitname
sed -e 's/\/usr\/local/\/usr/g' -i Makefile thea-*
sed -e 's/\/sbin/\/bin/g' -i Makefile
}
package() {
cd $srcdir/$_gitname
make PREFIX=$pkgdir/usr install
mv $pkgdir/usr/share/thea/config $pkgdir/usr/share/thea/config.dist
}
|