summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhys Perry2020-05-09 19:04:11 +0100
committerRhys Perry2020-05-09 19:04:11 +0100
commitb70d6e6106521e54841d9f5ce7618ef4abd4f434 (patch)
tree1d80d8938abfb2c3f4462aa8fc8a641dbb17e9a8
downloadaur-b70d6e6106521e54841d9f5ce7618ef4abd4f434.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD19
-rwxr-xr-xkomga2
3 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..9e1fffe925a7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = komga
+ pkgdesc = Media server for comics/mangas/BDs with API and OPDS support
+ pkgver = 0.29.0
+ pkgrel = 1
+ url = https://komga.org
+ arch = any
+ license = MIT
+ depends = java-runtime
+ source = komga.jar::https://github.com/gotson/komga/releases/download/v0.29.0/komga-0.29.0.jar
+ source = komga
+ md5sums = c977164897d7dd2f281ea6dc70dc1f41
+ md5sums = e5713c297be47045511f06664574754f
+
+pkgname = komga
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..9e1f062fad07
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Rhys Perry <rhysperry111@gmail.com>
+
+pkgname=komga
+pkgver=0.29.0
+pkgrel=1
+pkgdesc="Media server for comics/mangas/BDs with API and OPDS support "
+arch=('any')
+url="https://komga.org"
+license=('MIT')
+depends=('java-runtime')
+source=("komga.jar::https://github.com/gotson/komga/releases/download/v${pkgver}/komga-${pkgver}.jar"
+ "komga")
+md5sums=('c977164897d7dd2f281ea6dc70dc1f41'
+ 'e5713c297be47045511f06664574754f')
+package() {
+ cd "$pkgdir"
+ install -Dm755 "$srcdir"/komga.jar usr/share/java/komga/komga.jar
+ install -Dm755 "$srcdir"/komga usr/bin/komga
+}
diff --git a/komga b/komga
new file mode 100755
index 000000000000..86a1541212f2
--- /dev/null
+++ b/komga
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/java -jar '/usr/share/java/komga/komga.jar' "$@"