summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Lucas2019-08-07 15:50:37 -0400
committerJean Lucas2019-08-07 15:50:37 -0400
commitfc4ac755720d67cb3dd6209e1274193b09605b8b (patch)
tree9bcb526432e1d5a9b046fe8bea217b858cf03586
downloadaur-fc4ac755720d67cb3dd6209e1274193b09605b8b.tar.gz
Initial commit
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD33
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a17a6f5f156
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = shinjiru
+ pkgdesc = Qt-based anime tracker for AniList
+ pkgver = 3.4.0
+ pkgrel = 1
+ url = https://shinjiru.me
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = qt5-base
+ makedepends = qt5-declarative
+ makedepends = qt5-networkauth
+ makedepends = qt5-tools
+ makedepends = qt5-quickcontrols
+ makedepends = qt5-quickcontrols2
+ makedepends = libx11
+ makedepends = libxtst
+ makedepends = libxinerama
+ depends = hicolor-icon-theme
+ depends = libxinerama
+ depends = libxtst
+ depends = qt5-declarative
+ depends = qt5-networkauth
+ source = git+https://github.com/ShinjiruApp/Shinjiru#tag=v3.4.0
+ sha512sums = SKIP
+
+pkgname = shinjiru
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8cdddd24296
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Jean Lucas <jean@4ray.co>
+
+pkgname=shinjiru
+pkgver=3.4.0
+pkgrel=1
+pkgdesc='Qt-based anime tracker for AniList'
+arch=(i686 x86_64)
+url=https://shinjiru.me
+license=(GPL3)
+depends=(hicolor-icon-theme libxinerama libxtst qt5-declarative qt5-networkauth)
+makedepends=(git qt5-base qt5-declarative qt5-networkauth qt5-tools qt5-quickcontrols qt5-quickcontrols2 libx11 libxtst libxinerama)
+source=(git+https://github.com/ShinjiruApp/Shinjiru#tag=v$pkgver)
+sha512sums=('SKIP')
+
+prepare() {
+ cd Shinjiru
+ git submodule update --init
+}
+
+build() {
+ cd Shinjiru
+ qmake PREFIX=/usr
+ make
+
+ # Make translations
+ lupdate Shinjiru.pro
+ lrelease Shinjiru.pro
+}
+
+package() {
+ cd Shinjiru
+ make INSTALL_ROOT="$pkgdir" install
+}