blob: 467b8339b4e1c80bcba5b8543a1122a1fdeff322 (
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=4
pkgdesc="A simple backup tool for desktop computers"
arch=('any')
url="https://github.com/plp13/thea"
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
}
|