summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ott2019-11-18 22:17:46 +0100
committerStefan Ott2019-11-18 22:17:46 +0100
commitbb9fff1e1f4fe682a02a44c16da9cce8ef7beb7d (patch)
treee279a2c2e9557177c05462f2d6518490ad261118
downloadaur-synodl.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD39
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1514bbf13fa
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = synodl
+ pkgdesc = Command-line client for Synology's DownloadStation
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = https://code.ott.net/synodl/
+ arch = x86_64
+ license = GPL3
+ depends = json-c
+ depends = curl
+ source = synodl-0.2.0.tar.gz::https://code.ott.net/synodl/downloads/synodl-0.2.0.tar.gz
+ sha256sums = 0bb5ef8e4baef62774e03103b70e554c0350aeb9838a4dd5dd7dbf6395644c38
+
+pkgname = synodl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..115ffe6c86a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Stefan Ott <stefan@ott.net>
+pkgname=synodl
+pkgver=0.2.0
+pkgrel=1
+epoch=
+pkgdesc="Command-line client for Synology's DownloadStation"
+arch=("x86_64")
+url="https://code.ott.net/synodl/"
+license=("GPL3")
+groups=()
+depends=("json-c" "curl" )
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("synodl-${pkgver}.tar.gz::https://code.ott.net/synodl/downloads/synodl-0.2.0.tar.gz")
+sha256sums=("0bb5ef8e4baef62774e03103b70e554c0350aeb9838a4dd5dd7dbf6395644c38")
+noextract=()
+md5sums=()
+validpgpkeys=()
+
+build()
+{
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package()
+{
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}