blob: fdc37c5a5cc74f87f5b8c29d05c167925b2c81a8 (
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
|
# Maintainer: Pantelis Panayiotou <p.panayiotou@gmail.com>
pkgname="thea-git"
pkgver=v0.0.0.r0.g901f7ea
pkgrel=1
epoch="1"
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")
provides=("thea")
conflicts=("thea")
install="config.install"
source=("git+https://github.com/plp13/thea")
sha256sums=("SKIP")
pkgver() {
cd "thea"
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "thea"
sed -e 's/\/usr\/local/\/usr/g' -i Makefile thea-*
sed -e 's/\/sbin/\/bin/g' -i Makefile
}
package() {
cd "thea"
make PREFIX="${pkgdir}/usr" install
mv "${pkgdir}/usr/share/thea/config" "${pkgdir}/usr/share/thea/config.dist"
}
|