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