summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan B2016-10-19 19:36:09 +0200
committerJonathan B2016-10-19 19:36:09 +0200
commit344bd78cafe058083604c976efee2c9669c220c6 (patch)
treec2e7706fc008b947ae594c95814ef817ac315e18
downloadaur-344bd78cafe058083604c976efee2c9669c220c6.tar.gz
inital release
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD33
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..08998bf7f46
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = okcash
+ pkgdesc = Okcash Qt Wallet
+ pkgver = 4.0.0.1
+ pkgrel = 1
+ url = http://okcash.co
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = boost
+ depends = boost-libs
+ depends = openssl
+ optdepends = miniupnpc: adds UPnP
+ optdepends = qrencode: adds qr code functionality
+ provides = okcash
+ conflicts = okcash
+ source = https://github.com/okcashpro/okcash/archive/v4.0.0.1-core.Utopia.zip
+ md5sums = SKIP
+
+pkgname = okcash
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3fd3137b203
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Jonathan <greenbigfrog@gmail.com>
+pkgname=okcash
+pkgver=4.0.0.1
+pkgcodename=Utopia
+pkgrel=1
+pkgdesc="Okcash Qt Wallet"
+arch=('i686' 'x86_64')
+url="http://okcash.co"
+license=('MIT')
+makedepends=('git' 'boost')
+depends=('boost-libs' 'openssl')
+optdepends=(
+ 'miniupnpc: adds UPnP'
+ 'qrencode: adds qr code functionality'
+)
+provides=('okcash')
+conflicts=('okcash')
+source=("https://github.com/okcashpro/okcash/archive/v$pkgver-core.$pkgcodename.zip")
+md5sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}-$pkgver-core.$pkgcodename/"
+ qmake
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-$pkgver-core.$pkgcodename/"
+ install -Dm755 "okcash" "${pkgdir}/usr/bin/okcash"
+ install -Dm644 "COPYING" "${pkgdir}/usr/share/licenses/okcash/LICENSE"
+ install -d "${pkgdir}/usr/share/doc/okcash"
+ cp -a "doc/" "${pkgdir}/usr/share/doc/okcash/"
+}