diff options
author | metscoin | 2018-08-24 16:20:05 -0400 |
---|---|---|
committer | metscoin | 2018-08-24 16:20:05 -0400 |
commit | 50dd4244760227762c2e93fe02c123fdeeab8446 (patch) | |
tree | 3b906b20bf4ba57c192c07224e0449d22b01312d | |
download | aur-50dd4244760227762c2e93fe02c123fdeeab8446.tar.gz |
Init tuxcoin
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | .gitignore | 13 | ||||
-rw-r--r-- | PKGBUILD | 33 | ||||
-rw-r--r-- | tuxcoin-qt.desktop | 11 | ||||
-rw-r--r-- | tuxcoin-qt.install | 11 |
5 files changed, 95 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8b0179da998a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = tuxcoin-qt + pkgdesc = Cryptocurrency wallet(QT) + pkgver = 1.05 + pkgrel = 1 + url = https://tuxcoin.io/ + install = tuxcoin-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 = tuxcoin + source = tuxcoin-qt::git+https://github.com/bleach86/tuxcoin-V2.git#tag=v1.05 + source = tuxcoin-qt.desktop + sha256sums = SKIP + sha256sums = c195ecaffd62aba75adb7a653a85b10164f1a4d37f9dcf016b8c03d3516e1d42 + +pkgname = tuxcoin-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..0fe945193e08 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: metscoin <mets_coin@outlook.com> + +pkgname=tuxcoin-qt +pkgver=1.05 +pkgrel=1 +arch=('i686' 'x86_64') +url="https://tuxcoin.io/" +license=('MIT') +pkgdesc="Cryptocurrency wallet(QT)" +depends=(boost-libs qt5-base qrencode miniupnpc db4.8 zeromq protobuf libevent) +makedepends=(boost qt5-tools) +conflicts=(tuxcoin) +install=tuxcoin-qt.install +source=("${pkgname%-git}::git+https://github.com/bleach86/tuxcoin-V2.git#tag=v${pkgver}" + "$pkgname.desktop") +sha256sums=('SKIP' + 'c195ecaffd62aba75adb7a653a85b10164f1a4d37f9dcf016b8c03d3516e1d42') + +build() { + cd "$srcdir/$pkgname" + find . -type f -iname "*.sh" -exec chmod +x {} \; + ./autogen.sh + ./configure --with-gui=qt5 --disable-tests + make +} + +package() { + install -Dm644 tuxcoin-qt.desktop "$pkgdir"/usr/share/applications/tuxcoin.desktop + cd "$srcdir/$pkgname" + install -Dm755 src/qt/tuxcoin-qt "$pkgdir"/usr/bin/tuxcoin-qt + install -Dm644 share/pixmaps/bitcoin128.png "$pkgdir"/usr/share/pixmaps/tuxcoin128.png + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} diff --git a/tuxcoin-qt.desktop b/tuxcoin-qt.desktop new file mode 100644 index 000000000000..e947b586c94a --- /dev/null +++ b/tuxcoin-qt.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Tuxcoin +Comment=Tuxcoin P2P Cryptocurrency +Exec=/usr/bin/tuxcoin-qt +Terminal=false +Type=Application +Icon=/usr/share/pixmaps/tuxcoin128.png +MimeType=x-scheme-handler/tuxcoin; +Categories=Office; +Name[en_US]=tuxcoin-qt.desktop diff --git a/tuxcoin-qt.install b/tuxcoin-qt.install new file mode 100644 index 000000000000..f98ba7338938 --- /dev/null +++ b/tuxcoin-qt.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |