diff options
author | metscoin | 2018-06-10 14:34:05 -0400 |
---|---|---|
committer | metscoin | 2018-06-10 14:34:05 -0400 |
commit | 0605752be4ad4f385f7c17380742b8fb108b7816 (patch) | |
tree | 9bcfcd4b80bf7c7cc73304136403b7625b9f6fb5 | |
download | aur-0605752be4ad4f385f7c17380742b8fb108b7816.tar.gz |
Init infinex-qt repo
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | .gitignore | 13 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | infinex-qt.desktop | 11 | ||||
-rw-r--r-- | infinex-qt.install | 11 |
5 files changed, 96 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..51ea620778a7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = infinex-qt + pkgdesc = Cryptocurrency wallet(QT) + pkgver = 1.0.0 + pkgrel = 1 + url = https://www.infinex.info/ + install = infinex-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 = infinex + source = infinex-qt::git+https://github.com/InfinexOfficial/Infinex.git + source = infinex-qt.desktop + sha256sums = SKIP + sha256sums = ae5c57c322ddf66710273fa775168fddf4cc7c1318992986b50df72c8b1c7f85 + +pkgname = infinex-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..06823bfcfda4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: metscoin <mets_coin@outlook.com> + +pkgname=infinex-qt +pkgver=1.0.0 +pkgrel=1 +arch=('i686' 'x86_64') +url="https://www.infinex.info/" +license=('MIT') +pkgdesc="Cryptocurrency wallet(QT)" +depends=(boost-libs qt5-base qrencode miniupnpc db4.8 zeromq protobuf libevent) +makedepends=(boost qt5-tools) +conflicts=(infinex) +install=infinex-qt.install +source=("${pkgname%-git}::git+https://github.com/InfinexOfficial/Infinex.git" + "$pkgname.desktop") +sha256sums=('SKIP' + 'ae5c57c322ddf66710273fa775168fddf4cc7c1318992986b50df72c8b1c7f85') + +build() { + cd "$srcdir/$pkgname" + find . -type f -iname "*.sh" -exec chmod +x {} \; + ./autogen.sh + ./configure --with-gui=qt5 + make +} + + +package() { + install -Dm644 infinex-qt.desktop "$pkgdir"/usr/share/applications/infinex.desktop + cd "$srcdir/$pkgname" + install -Dm755 src/qt/infinex-qt "$pkgdir"/usr/bin/infinex-qt + install -Dm644 share/pixmaps/infinex128.png "$pkgdir"/usr/share/pixmaps/infinex128.png + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} diff --git a/infinex-qt.desktop b/infinex-qt.desktop new file mode 100644 index 000000000000..d3b92937e978 --- /dev/null +++ b/infinex-qt.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Infinex +Comment=Infinex P2P Cryptocurrency +Exec=/usr/bin/infinex-qt +Terminal=false +Type=Application +Icon=/usr/share/pixmaps/infinex128.png +MimeType=x-scheme-handler/infinex; +Categories=Office; +Name[en_US]=infinex-qt.desktop diff --git a/infinex-qt.install b/infinex-qt.install new file mode 100644 index 000000000000..f98ba7338938 --- /dev/null +++ b/infinex-qt.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |