summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMckol2019-12-23 19:34:37 +0000
committerMckol2019-12-23 19:34:37 +0000
commitd794c542f582c293ba65d171788702afd68a4721 (patch)
treea71bc29b054e87f348fd5b78bb72a8c44bf192b7
downloadaur-d794c542f582c293ba65d171788702afd68a4721.tar.gz
Initial commit
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD39
-rw-r--r--airshipper.desktop9
-rw-r--r--veloren.pngbin0 -> 24625 bytes
4 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..978990dbf95
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = airshipper-git
+ pkgdesc = The official launcher for Veloren - an open-world, open-source multiplayer voxel RPG
+ pkgver = 0.1.2.r0.b9846f4
+ pkgrel = 1
+ url = https://www.songtronix.com/
+ arch = x86_64
+ arch = i686
+ license = GPL3
+ makedepends = git
+ makedepends = rustup
+ depends = openssl
+ provides = airshipper-git
+ provides = veloren
+ conflicts = airshipper-git
+ conflicts = veloren
+ noextract = airshipper.desktop
+ noextract = veloren.png
+ source = airshipper-git::git+https://gitlab.com/veloren/airshipper.git
+ source = airshipper.desktop
+ source = veloren.png
+ sha512sums = SKIP
+ sha512sums = cfd0f354c112835254c26fa06e73e046477602f3d629967dcb0d3596481e9d2ca461fe605b249cf3a3aa9689325fac8de93e8ddabb3168c54ace82552231355f
+ sha512sums = b5e5cbf28ab0e335f5a0fc93511fc9936360432a36e35cc876761601abacf257299deb0af6b3d9081143b700f6663c4f603970155dd4dacedb7a9672cde1dc94
+
+pkgname = airshipper-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eb4b6a8869b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Mckol <mckol363@gmail.com>
+
+pkgname=airshipper-git
+pkgver=0.1.2.r0.b9846f4
+pkgrel=1
+pkgdesc="The official launcher for Veloren - an open-world, open-source multiplayer voxel RPG"
+arch=('x86_64' 'i686')
+url='https://www.songtronix.com/'
+license=('GPL3')
+depends=('openssl')
+makedepends=('git' 'rustup')
+provides=("$pkgname" 'veloren')
+conflicts=("$pkgname" 'veloren')
+source=(
+ "$pkgname"::'git+https://gitlab.com/veloren/airshipper.git'
+ 'airshipper.desktop'
+ 'veloren.png'
+)
+noextract=('airshipper.desktop' 'veloren.png')
+sha512sums=('SKIP'
+ 'cfd0f354c112835254c26fa06e73e046477602f3d629967dcb0d3596481e9d2ca461fe605b249cf3a3aa9689325fac8de93e8ddabb3168c54ace82552231355f'
+ 'b5e5cbf28ab0e335f5a0fc93511fc9936360432a36e35cc876761601abacf257299deb0af6b3d9081143b700f6663c4f603970155dd4dacedb7a9672cde1dc94')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/v//'
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ cargo build --release --bin airshipper
+}
+
+package() {
+ # The executable needs to be called veloren for now because where it stores the game depends on it
+ install -D "$srcdir/$pkgname/target/release/airshipper" -T "$pkgdir/usr/bin/veloren"
+ install -Dm 644 "$srcdir/veloren.png" -t "$pkgdir/usr/share/pixmaps/"
+ install -D "$srcdir/airshipper.desktop" -t "$pkgdir/usr/share/applications"
+}
diff --git a/airshipper.desktop b/airshipper.desktop
new file mode 100644
index 00000000000..ad2786ef3ee
--- /dev/null
+++ b/airshipper.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Airshipper
+Comment=Official launcher for Veloren - the open-world, open-source multiplayer voxel RPG
+Exec=veloren
+Categories=Game
+Keywords=veloren
+Icon=veloren.png
+Terminal=true
diff --git a/veloren.png b/veloren.png
new file mode 100644
index 00000000000..51c297966bc
--- /dev/null
+++ b/veloren.png
Binary files differ