summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMCMrARM2018-08-23 18:16:25 +0200
committerMCMrARM2018-08-23 18:16:25 +0200
commitb039bff8ae4174632a034a3366b23ea7e8ebf16f (patch)
tree4ae60a4c14d2fbbe28d319727e5d49114277def4
downloadaur-b039bff8ae4174632a034a3366b23ea7e8ebf16f.tar.gz
Initial commit
-rw-r--r--.SRCINFO40
-rw-r--r--PKGBUILD75
2 files changed, 115 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9123bd33348
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,40 @@
+pkgbase = mcpelauncher-msa-git
+ pkgdesc = Microsoft Account authentication daemon for mcpelauncher
+ pkgver = v0.1.beta.1.r10.g323bb82
+ pkgrel = 1
+ url = https://github.com/minecraft-linux/msa-manifest
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = cmake
+ depends = curl
+ depends = openssl
+ provides = mcpelauncher-msa
+ conflicts = mcpelauncher-msa
+ source = git://github.com/minecraft-linux/msa-manifest.git
+ source = git://github.com/minecraft-linux/logger.git
+ source = git://github.com/minecraft-linux/base64.git
+ source = git://github.com/minecraft-linux/file-util.git
+ source = git://github.com/minecraft-linux/arg-parser.git
+ source = git://github.com/minecraft-linux/rapidxml.git
+ source = git://github.com/MCMrARM/simple-ipc.git
+ source = git://github.com/minecraft-linux/daemon-utils.git
+ source = git://github.com/minecraft-linux/msa.git
+ source = git://github.com/minecraft-linux/msa-daemon.git
+ source = git://github.com/minecraft-linux/msa-daemon-client.git
+ source = nlohmann_json_license.txt::https://raw.githubusercontent.com/nlohmann/json/develop/LICENSE.MIT
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+
+pkgname = mcpelauncher-msa-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1bbe3008c14
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,75 @@
+# Maintainer: Paul <paul@mrarm.io>
+pkgname=mcpelauncher-msa-git
+pkgver=v0.1.beta.1.r10.g323bb82
+pkgrel=1
+pkgdesc="Microsoft Account authentication daemon for mcpelauncher"
+arch=('x86_64')
+url="https://github.com/minecraft-linux/msa-manifest"
+license=('MIT')
+makedepends=('git' 'cmake')
+depends=('curl' 'openssl')
+provides=('mcpelauncher-msa')
+conflicts=('mcpelauncher-msa')
+source=(
+ 'git://github.com/minecraft-linux/msa-manifest.git'
+ 'git://github.com/minecraft-linux/logger.git'
+ 'git://github.com/minecraft-linux/base64.git'
+ 'git://github.com/minecraft-linux/file-util.git'
+ 'git://github.com/minecraft-linux/arg-parser.git'
+ 'git://github.com/minecraft-linux/rapidxml.git'
+ 'git://github.com/MCMrARM/simple-ipc.git'
+ 'git://github.com/minecraft-linux/daemon-utils.git'
+ 'git://github.com/minecraft-linux/msa.git'
+ 'git://github.com/minecraft-linux/msa-daemon.git'
+ 'git://github.com/minecraft-linux/msa-daemon-client.git'
+ 'nlohmann_json_license.txt::https://raw.githubusercontent.com/nlohmann/json/develop/LICENSE.MIT'
+)
+md5sums=(
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+)
+
+pkgver() {
+ cd "msa-manifest"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+prepare() {
+ cd msa-manifest
+ git submodule init
+ git config submodule.logger.url $srcdir/logger
+ git config submodule.base64.url $srcdir/base64
+ git config submodule.file-util.url $srcdir/file-util
+ git config submodule.arg-parser.url $srcdir/arg-parser
+ git config submodule.rapidxml.url $srcdir/rapidxml
+ git config submodule.simple-ipc.url $srcdir/simple-ipc
+ git config submodule.daemon-utils.url $srcdir/daemon-utils
+ git config submodule.msa.url $srcdir/msa
+ git config submodule.msa-daemon.url $srcdir/msa-daemon
+ git config submodule.msa-daemon-client.url $srcdir/msa-daemon-client
+ git submodule update logger base64 file-util arg-parser rapidxml simple-ipc daemon-utils msa msa-daemon msa-daemon-client
+}
+build() {
+ cd msa-manifest
+ mkdir -p build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DMSA_UI_PATH_DEV=OFF ..
+ make
+}
+package() {
+ cd msa-manifest/build
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 ../msa-daemon/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 ../../nlohmann_json_license.txt "$pkgdir/usr/share/licenses/$pkgname/nlohmann_json_license.txt"
+ install -Dm644 ../rapidxml/license.txt "$pkgdir/usr/share/licenses/$pkgname/rapidxml_license.txt"
+}