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