blob: 3e700992359cecde7926042fbf85c235f332bcef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Ilyess Bachiri <ae767c5e-13d3-460e-8b0e-03929616d9ad@anonaddy.me>
pkgname=otoclone
pkgver=0.4.2
pkgrel=1
pkgdesc="Automatic backup utility"
arch=("x86_64")
url="https://github.com/bilyes/otoclone"
license=('GPLv2')
depends=(rclone inotify-tools)
makedepends=(git go)
source=("git+$url")
md5sums=('SKIP')
build() {
cd "$pkgname"
go build -o "$pkgname"
}
package() {
mkdir -p "$pkgdir"/usr/local/bin
cd "$pkgname"
install -Dm755 "$pkgname" "$pkgdir"/usr/local/bin/"$pkgname"
}
|