summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1c39411c526dd6b2406e2176d700ac9d703a4c8 (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: Stefan Ott <stefan@ott.net>
pkgname=synodl
pkgver=0.5.3
pkgrel=1
pkgdesc="Command-line client for Synology's DownloadStation"
arch=("any")
url="https://code.ott.net/synodl/"
license=("GPL3")
depends=("rust")
source=("$pkgname::git+https://git.ott.net/synodl#tag=$pkgname-$pkgver")
md5sums=('SKIP')

build()
{
	cd "$srcdir/$pkgname"
	cargo build --release
}

package()
{
	install -Dm755 "$srcdir/$pkgname/target/release/synodl" \
		$pkgdir/usr/bin/synodl
}