summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkernel10242020-03-13 21:29:06 +0400
committerkernel10242020-03-13 21:29:06 +0400
commit650e30d3b55181e949cc6a655f58af1811474aad (patch)
tree58f64b4494bafcd6b50b4757210fa41f4c66d2ed
downloadaur-650e30d3b55181e949cc6a655f58af1811474aad.tar.gz
First commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD34
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..af456d04f8d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = qmanga-git
+ pkgdesc = Manga and book reader written with Qt
+ pkgver = 20200313.aee22c9
+ pkgrel = 1
+ url = https://github.com/kernel1024/qmanga
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = qt5-base>=5.11.0
+ depends = libzip
+ depends = zlib
+ depends = poppler>=0.72.0
+ optdepends = djvulibre: DJVU files support
+ optdepends = tesseract: OCR support
+ source = git://github.com/kernel1024/qmanga.git
+ md5sums = SKIP
+
+pkgname = qmanga-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f9d4c70ac30
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: kernel1024 <kernelonline at gmail dot com>
+
+pkgname=qmanga-git
+_pkgname=qmanga
+pkgver=20200313.aee22c9
+pkgrel=1
+pkgdesc="Manga and book reader written with Qt"
+arch=('i686' 'x86_64')
+url="https://github.com/kernel1024/qmanga"
+license=('GPL3')
+
+depends=('qt5-base>=5.11.0' 'libzip' 'zlib' 'poppler>=0.72.0')
+optdepends=('djvulibre: DJVU files support'
+ 'tesseract: OCR support')
+
+makedepends=('git')
+source=("git://github.com/kernel1024/qmanga.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ git log -1 --format='%cd.%h' --date=short | tr -d -
+}
+
+build () {
+ cd "$srcdir/${_pkgname}"
+ qmake-qt5
+ make
+}
+
+package () {
+ cd "$srcdir/${_pkgname}"
+ make INSTALL_ROOT="${pkgdir}" install
+}