blob: 42504e438145561ca06fbf8445c232267e982366 (
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
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Manhong Dai <daimh@umich.edu>
pkgname=daisync
pkgver=20190124
pkgrel=1
pkgdesc="an rsync-based time-machine backup tool"
arch=('any')
url="https://github.com/daimh/$pkgname"
license=('GPL')
groups=()
depends=(
'coreutils'
'bc'
'util-linux'
'rsync'
'psmisc'
)
makedepends=()
optdepends=(
'gnuplot: plotting support'
'mlocate'
)
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=($pkgname::git+$url.git)
noextract=()
md5sums=('SKIP') #autofill using updpkgsums
build() {
cd $pkgname
./configure
make
rm -f man/$pkgname.1.gz
gzip man/$pkgname.1
}
check() {
$pkgname/scripts/$pkgname -h || echo -n
}
package() {
mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1"
install -Dm755 $pkgname/scripts/$pkgname* "$pkgdir/usr/bin/"
install -Dm644 $pkgname/man/$pkgname.1.gz "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
}
|