summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkujiu (@havelock.kujiu.org)2017-02-25 22:45:11 +0100
committerkujiu (@havelock.kujiu.org)2017-02-25 22:45:11 +0100
commitee607bbea6dbac6569dfecbe5a36b14319898799 (patch)
tree962be8b6f3b775f3042a2eb3b9982a3756427de2
downloadaur-ee607bbea6dbac6569dfecbe5a36b14319898799.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD44
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c1c18f99a56
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = rolisteam
+ pkgdesc = Virtual tabletop software. It helps you to manage tabletop role playing games with remote friends/players.
+ pkgver = 1.8.0
+ pkgrel = 1
+ url = http://www.rolisteam.org
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = gcc
+ makedepends = git
+ makedepends = qt5-tools
+ depends = qt5-base
+ depends = zlib
+ source = git+https://github.com/Rolisteam/rolisteam.git#tag=v1.8.0
+ sha256sums = 'SKIP'
+
+pkgname = rolisteam
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..253ba480b2c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Kujiu <kujiu+arch@kujiu.org>
+
+pkgname=rolisteam
+_pkgname=rolisteam
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="Virtual tabletop software. It helps you to manage tabletop role playing games with remote friends/players."
+arch=('i686' 'x86_64')
+url="http://www.rolisteam.org"
+license=(GPL)
+depends=('qt5-base' 'zlib')
+makedepends=('qt5-tools' 'gcc' 'git')
+source=("git+https://github.com/Rolisteam/rolisteam.git#tag=v1.8.0")
+sha256sums=('SKIP')
+
+build()
+{
+ cd "${srcdir}/${_pkgname}"
+ git submodule init
+ git submodule update
+ lrelease translations/*.ts
+ qmake-qt5
+ make
+}
+
+package()
+{
+ cd "${srcdir}/${_pkgname}"
+ INSTALL_ROOT="${pkgdir}" make install
+ mkdir -p "${pkgdir}"/usr/share/applications
+ mkdir -p "${pkgdir}"/usr/share/icons/hicolor/256x256/apps
+ cp resources/logo/256-icone.png "${pkgdir}"/usr/share/icons/hicolor/256x256/apps/rolisteam.png
+ DESKTOPFILE="${pkgdir}"/usr/share/applications/"${_pkgname}".desktop
+ echo "[Desktop Entry]" > "${DESKTOPFILE}"
+ echo "Name=Rolisteam" >> "${DESKTOPFILE}"
+ echo "Comment=${pkgdesc}" >> "${DESKTOPFILE}"
+ echo "Exec=${_pkgname}" >> "${DESKTOPFILE}"
+ echo "Terminal=false" >> "${DESKTOPFILE}"
+ echo "Type=Application" >> "${DESKTOPFILE}"
+ echo "Icon="${pkgdir}"/usr/share/icons/hicolor/256x256/apps/rolisteam.png" >> "${DESKTOPFILE}"
+ echo "Categories=Game;" >> "${DESKTOPFILE}"
+}
+
+