summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormetscoin2018-06-08 19:48:31 -0400
committermetscoin2018-06-08 19:48:31 -0400
commitda1bd2c93aec621b708a9e12c343ebb5d42f311a (patch)
treef479de96a30b1a86be9d6c5b43258996b6d0f0f2
downloadaur-da1bd2c93aec621b708a9e12c343ebb5d42f311a.tar.gz
Init alps-qt repo
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD33
-rw-r--r--alps-qt.desktop11
-rw-r--r--alps-qt.install11
4 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7bf301761ff
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = alps-qt
+ pkgdesc = Cryptocurrency wallet(QT)
+ pkgver = 12.3.70214
+ pkgrel = 1
+ url = https://alpenschilling.cash/
+ install = alps-qt.install
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = boost
+ makedepends = qt5-tools
+ depends = boost-libs
+ depends = qt5-base
+ depends = qrencode
+ depends = miniupnpc
+ depends = db4.8
+ depends = zeromq
+ depends = protobuf
+ depends = libevent
+ conflicts = alps
+ source = alps-qt::git+http://github.com/Alpenschilling/Alpenschilling.git
+ source = alps-qt.desktop
+ sha256sums = SKIP
+ sha256sums = 138b2678a7117d1ff90fa76c7cbf3a5ca3a96d7a3eaa2930ac9b885593c82199
+
+pkgname = alps-qt
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c4721396666
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: metscoin <mets_coin@outlook.com>
+
+pkgname=alps-qt
+pkgver=12.3.70214
+pkgrel=1
+arch=('i686' 'x86_64')
+url="https://alpenschilling.cash/"
+license=('MIT')
+pkgdesc="Cryptocurrency wallet(QT)"
+depends=(boost-libs qt5-base qrencode miniupnpc db4.8 zeromq protobuf libevent)
+makedepends=(boost qt5-tools)
+conflicts=(alps)
+install=alps-qt.install
+source=("${pkgname%-git}::git+http://github.com/Alpenschilling/Alpenschilling.git"
+ "$pkgname.desktop")
+sha256sums=('SKIP'
+ '138b2678a7117d1ff90fa76c7cbf3a5ca3a96d7a3eaa2930ac9b885593c82199')
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./autogen.sh
+ ./configure --with-gui=qt5
+ make
+}
+
+
+package() {
+ install -Dm644 alps-qt.desktop "$pkgdir"/usr/share/applications/alps.desktop
+ cd "$srcdir/$pkgname"
+ install -Dm755 src/qt/alps-qt "$pkgdir"/usr/bin/alps-qt
+ install -Dm644 share/pixmaps/alps256.png "$pkgdir"/usr/share/pixmaps/alps256.png
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
diff --git a/alps-qt.desktop b/alps-qt.desktop
new file mode 100644
index 00000000000..05b3ed18a46
--- /dev/null
+++ b/alps-qt.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Alpenschilling
+Comment=Alpenschilling P2P Cryptocurrency
+Exec=/usr/bin/alps-qt
+Terminal=false
+Type=Application
+Icon=/usr/share/pixmaps/alps256.png
+MimeType=x-scheme-handler/alps;
+Categories=Office;
+Name[en_US]=alps-qt.desktop
diff --git a/alps-qt.install b/alps-qt.install
new file mode 100644
index 00000000000..f98ba733893
--- /dev/null
+++ b/alps-qt.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}