diff options
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | .gitignore | 13 | ||||
-rw-r--r-- | PKGBUILD | 35 | ||||
-rw-r--r-- | hilux-qt.desktop | 10 | ||||
-rw-r--r-- | hilux-qt.install | 11 |
5 files changed, 96 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..14cb46b609fc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = hilux-qt + pkgdesc = Cryptocurrency wallet(QT) + pkgver = 1.0.0 + pkgrel = 1 + url = http://www.hiluxcoin.com/ + install = hilux-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 = hilux + source = hilux-qt::git+https://github.com/swatchie-1/hilux.git#tag=v1.0.0 + source = hilux-qt.desktop + sha256sums = SKIP + sha256sums = 2b16e0d549b5b537f7f1c5a46bca199c22e018179377e65ea89a1ff33a962770 + +pkgname = hilux-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..345793cebc29 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: metscoin <mets_coin@outlook.com> + +pkgname=hilux-qt +pkgver=1.0.0 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://www.hiluxcoin.com/" +license=('MIT') +pkgdesc="Cryptocurrency wallet(QT)" +depends=(boost-libs qt5-base qrencode miniupnpc db4.8 zeromq protobuf libevent) +makedepends=(boost qt5-tools) +conflicts=(hilux) +install=hilux-qt.install +source=("${pkgname%-git}::git+https://github.com/swatchie-1/hilux.git#tag=v${pkgver}" + "$pkgname.desktop") +sha256sums=('SKIP' + '2b16e0d549b5b537f7f1c5a46bca199c22e018179377e65ea89a1ff33a962770') + +build() { + cd "$srcdir/$pkgname" + find . -type f -iname "*.sh" -exec chmod +x {} \; + ./autogen.sh + chmod +x ./configure + ./configure --with-gui=qt5 --disable-tests + make +} + + +package() { + install -Dm644 hilux-qt.desktop "$pkgdir"/usr/share/applications/hilux.desktop + cd "$srcdir/$pkgname" + install -Dm755 src/qt/hilux-qt "$pkgdir"/usr/bin/hilux-qt + install -Dm644 share/pixmaps/hilux128.png "$pkgdir"/usr/share/pixmaps/hilux128.png + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} diff --git a/hilux-qt.desktop b/hilux-qt.desktop new file mode 100644 index 000000000000..dc4daf637d51 --- /dev/null +++ b/hilux-qt.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Hilux +Comment=Hilux P2P Cryptocurrency +Exec=/usr/bin/hilux-qt +Terminal=false +Type=Application +Icon=/usr/share/pixmaps/hilux128.png +MimeType=x-scheme-handler/hilux; +Categories=Office; diff --git a/hilux-qt.install b/hilux-qt.install new file mode 100644 index 000000000000..f98ba7338938 --- /dev/null +++ b/hilux-qt.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |