summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Clifford2017-05-22 19:29:52 -0600
committerBrandon Clifford2017-05-24 10:04:47 -0600
commita457c700ffa84530eb8742fd13d4aea213d3a65d (patch)
tree3580ac1747d67a7055b0c163ac8f812f652c14c2
downloadaur-a457c700ffa84530eb8742fd13d4aea213d3a65d.tar.gz
Initial Commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD30
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..074ceb7e9cf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Wed May 24 16:04:38 UTC 2017
+pkgbase = mooltiapp
+ pkgdesc = Mooltiapp Desktop
+ pkgver = 2.0.78
+ pkgrel = 1
+ url = https://www.themooltipass.com/setup
+ arch = x86_64
+ license = custom
+ makedepends = desktop-file-utils
+ source = https://github.com/limpkin/mooltiapp/releases/download/v2.0.78/MooltiApp_2.0.78_amd64.deb
+ sha256sums = bcdb4a86d98a873691d2909c73f7718e9b64ebb65732df60013e78a63140880a
+
+pkgname = mooltiapp
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..79518d555fe
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Brandon Clifford <brandon099 at gmail dot com>
+
+_pkgname=MooltiApp
+pkgname=mooltiapp
+pkgver=2.0.78
+pkgrel=1
+pkgdesc="Mooltiapp Desktop"
+arch=('x86_64')
+url="https://www.themooltipass.com/setup"
+license=('custom')
+depends=()
+makedepends=('desktop-file-utils')
+source=("https://github.com/limpkin/mooltiapp/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb")
+sha256sums=('bcdb4a86d98a873691d2909c73f7718e9b64ebb65732df60013e78a63140880a')
+
+package() {
+ bsdtar -O -xf "${_pkgname}_${pkgver}_amd64.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
+
+ rm -f control.tar.gz data.tar.xz
+
+ install -dm0755 "${pkgdir}/opt/${_pkgname}"
+ find -- -type f -exec install -Dm0644 '{}' "${pkgdir}/opt/${_pkgname}/{}" \;
+
+ find . -type d -exec install -d {,${pkgdir}/usr/share/}{} \;
+ find . -type f -exec install -Dm0644 {,${pkgdir}/usr/share/}{} \;
+
+ install -dm0755 "${pkgdir}/usr/bin"
+ ln -s "${pkgdir}/opt/${_pkgname}/mooltiapp" "${pkgdir}/usr/bin/mooltiapp"
+
+}