summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRolf van Kleef2018-03-31 12:42:31 +0200
committerRolf van Kleef2018-03-31 12:46:07 +0200
commitc5644ec973a781ed51192e3dcb988f6a0fd22bff (patch)
tree87bf22d32dce5aea33fc3ae0603453786327f2ba
downloadaur-c5644ec973a781ed51192e3dcb988f6a0fd22bff.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD77
-rw-r--r--bunq-desktop-src.desktop11
4 files changed, 106 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1789f06b068
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = bunq-desktop-src
+ pkgver = 0.8.1
+ pkgrel = 1
+ url = https://github.com/BunqCommunity/BunqDesktop
+ arch = x86_64
+ license = MIT
+ depends = nodejs
+ source = https://github.com/BunqCommunity/BunqDesktop/archive/0.8.1.tar.gz
+ source = bunq-desktop-src.desktop
+ sha256sums = d89fad53a2b8dda0bd02bfc1a1bdd3edb3f1513215b7954970cec91fe024908d
+ sha256sums = 1d84f185830733bb38928fcaa33ffc0ba46140f7f116b4d5ad24c93a585a0ffa
+
+pkgname = bunq-desktop-src
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..34cefa7d88c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+*.tar.gz
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..976a1d6ac04
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,77 @@
+# Maintainer: Rolf van Kleef <aur@rolfvankleef.nl>
+# Contributor: Gregory Goijaerts <crecketgaming@gmail.com>
+# Contributor: Dennis Snijder <dennissnijder97@gmail.com>
+# Contributor: Nick Duijvelshoff <nick@duijvelshoff.com>
+# Contributor: basst85 <bastiaan85@gmail.com>
+# Contributor: Kees Kluskens
+# Contributor: TimZ99
+# Contributor: Emile Bons
+
+pkgname="bunq-desktop-src"
+pkgver="0.8.1"
+pkgrel=1
+pkgdesk="A desktop implementation for the bunq API"
+url="https://github.com/BunqCommunity/BunqDesktop"
+
+arch=(
+ 'x86_64'
+)
+
+license=(
+ 'MIT'
+)
+
+depends=(
+ 'nodejs'
+)
+
+makedepens=(
+ 'git'
+ 'yarn'
+)
+
+source=(
+ "https://github.com/BunqCommunity/BunqDesktop/archive/${pkgver}.tar.gz"
+ "bunq-desktop-src.desktop"
+)
+
+sha256sums=(
+ "d89fad53a2b8dda0bd02bfc1a1bdd3edb3f1513215b7954970cec91fe024908d"
+ "1d84f185830733bb38928fcaa33ffc0ba46140f7f116b4d5ad24c93a585a0ffa"
+)
+
+build() {
+ cd BunqDesktop-$pkgver
+
+ # Generate release files
+ yarn && yarn release
+}
+
+package() {
+ mkdir $pkgdir/usr
+ mkdir $pkgdir/usr/bin
+ mkdir $pkgdir/usr/share
+ mkdir $pkgdir/usr/share/pixmaps
+ mkdir $pkgdir/opt
+
+ cp -R\
+ BunqDesktop-$pkgver/dist/linux-unpacked\
+ $pkgdir/opt/$pkgname
+
+ cp -R\
+ BunqDesktop-$pkgver/LICENSE\
+ $pkgdir
+
+ cp\
+ BunqDesktop-$pkgver/build/icons/512x512.png\
+ $pkgdir/usr/share/pixmaps/bunq.png
+
+ ln -s\
+ $pkgdir/opt/$pkgname/bunqdesktop\
+ $pkgdir/usr/bin/bunq-desktop-src
+
+ desktop-file-install\
+ $pkgname.desktop\
+ --dir $pkgdir/usr/share/applications/
+}
+
diff --git a/bunq-desktop-src.desktop b/bunq-desktop-src.desktop
new file mode 100644
index 00000000000..98fc34a31d1
--- /dev/null
+++ b/bunq-desktop-src.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Bunq Desktop
+Comment=A desktop implementation for the bunq API.
+Exec=bunq-desktop-src -- %u
+StartupWMClass=BunqDesktop
+Icon=bunq
+Terminal=false
+Type=Application
+Categories=Network;X-Banking;X-Money;Office;
+X-Desktop-File-Install-Version=0.1