diff options
author | metscoin | 2018-06-18 19:33:37 -0400 |
---|---|---|
committer | metscoin | 2018-06-18 19:33:37 -0400 |
commit | 70e4170f57b38e01a89edcd6f162bbc702053a2f (patch) | |
tree | 6ff125a6c5b757063a876f4446966778b1a079ef | |
download | aur-70e4170f57b38e01a89edcd6f162bbc702053a2f.tar.gz |
Init straks-qt repo
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | .gitignore | 13 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | straks-qt.desktop | 11 | ||||
-rw-r--r-- | straks-qt.install | 11 |
5 files changed, 96 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..88118a6c616e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = straks-qt + pkgdesc = Cryptocurrency wallet(QT) + pkgver = 1.14.7 + pkgrel = 3 + url = https://www.straks.tech/ + install = straks-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 = straks + source = straks-qt::git+https://github.com/straks/straks.git + source = straks-qt.desktop + sha256sums = SKIP + sha256sums = 779e1b3cd7d97a06f98137be94de99a0abd0717ebd4fab054f6a33057de944d8 + +pkgname = straks-qt + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..1e2b0c0734b7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +*.tar +*.tar.* +*.jar +*.exe +*.msi +*.zip +*.tgz +*.log +*.log.* +*.sig + +pkg/ +src/
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..56d42dc17398 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: metscoin <mets_coin@outlook.com> + +pkgname=straks-qt +pkgver=1.14.7 +pkgrel=3 +arch=('i686' 'x86_64') +url="https://www.straks.tech/" +license=('MIT') +pkgdesc="Cryptocurrency wallet(QT)" +depends=(boost-libs qt5-base qrencode miniupnpc db4.8 zeromq protobuf libevent) +makedepends=(boost qt5-tools) +conflicts=(straks) +install=straks-qt.install +source=("${pkgname%-git}::git+https://github.com/straks/straks.git" + "$pkgname.desktop") +sha256sums=('SKIP' + '779e1b3cd7d97a06f98137be94de99a0abd0717ebd4fab054f6a33057de944d8') + +build() { + cd "$srcdir/$pkgname" + find . -type f -iname "*.sh" -exec chmod +x {} \; + ./autogen.sh + ./configure --with-gui=qt5 --disable-tests + make +} + + +package() { + install -Dm644 straks-qt.desktop "$pkgdir"/usr/share/applications/straks.desktop + cd "$srcdir/$pkgname" + install -Dm755 src/qt/straks-qt "$pkgdir"/usr/bin/straks-qt + install -Dm644 share/pixmaps/straks128.png "$pkgdir"/usr/share/pixmaps/straks128.png + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} diff --git a/straks-qt.desktop b/straks-qt.desktop new file mode 100644 index 000000000000..7d2eab2f39fc --- /dev/null +++ b/straks-qt.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Straks +Comment=Straks P2P Cryptocurrency +Exec=/usr/bin/straks-qt +Terminal=false +Type=Application +Icon=/usr/share/pixmaps/straks128.png +MimeType=x-scheme-handler/straks; +Categories=Office; +Name[en_US]=straks-qt.desktop diff --git a/straks-qt.install b/straks-qt.install new file mode 100644 index 000000000000..f98ba7338938 --- /dev/null +++ b/straks-qt.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |