Package Details: mop-git 280.94ff210-1

Git Clone URL: https://aur.archlinux.org/mop-git.git (read-only, click to copy)
Package Base: mop-git
Description: Stock market tracker for hackers
Upstream URL: https://github.com/mop-tracker/mop
Keywords: go market stock trader
Licenses: MIT
Conflicts: mop
Submitter: ogarcia
Maintainer: ogarcia
Last Packager: ogarcia
Votes: 2
Popularity: 0.000000
First Submitted: 2020-03-20 07:52 (UTC)
Last Updated: 2022-08-26 06:57 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

rkelly commented on 2020-07-10 14:56 (UTC) (edited on 2020-07-10 15:02 (UTC) by rkelly)

The installation had a couple minor hiccups for me, but did complete successfully after choosing 'y' to proceed.

..
(1/1) Arming ConditionNeedsUpdate...
:: Downloading the latest sources for a devel package mop-git...
:: error: failed to retrieve latest dev sources:
==> Making package: mop-git v0.2.0.r89.g570a5d6-1 (Fri 10 Jul 2020 07:45:27 AM PDT)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
==> Extracting sources...
==> Starting pkgver()...
/home/user/.cache/pikaur/build/mop-git/PKGBUILD: line 19: cd: /home/user/.cache/pikaur/build/mop-git/src/src/github.com/mop-tracker/mop: No such file or directory
==> ERROR: A failure occurred in pkgver().
    Aborting...

Do you want to proceed? [y/N] y

:: Starting the build:
==> Making package: mop-git v0.2.0.r89.g570a5d6-1 (Fri 10 Jul 2020 07:45:53 AM PDT)
..

sudoforge commented on 2020-07-09 04:05 (UTC)

Hey ogarcia, this package is missing a build dependency on git, which prevents building in a chroot. You should add it to the makedepends array like so:

diff --git a/.SRCINFO b/.SRCINFO
index 01cf912..c83dddf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,6 +9,7 @@ pkgbase = mop-git
    arch = armv7h
    arch = aarch64
    license = MIT
+   makedepends = git
    makedepends = go
    options = !strip
    options = !emptydirs
diff --git a/PKGBUILD b/PKGBUILD
index d70f778..ef1ea7c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc='Stock market tracker for hackers'
 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
 url='https://github.com/mop-tracker/mop'
 license=('MIT')
-makedepends=('go')
+makedepends=('git' 'go')
 options=('!strip' '!emptydirs')
 _gourl="github.com/mop-tracker/mop"

@@ -33,3 +33,4 @@ package() {
   install -D -m644 "${srcdir}/src/${_gourl}/README.md" \
     "${pkgdir}/usr/share/doc/${pkgname}/README.md"
 }
+

boiko commented on 2020-05-15 06:02 (UTC)

I'm glad I found this package. I was about to make this myself because I noticed mop was out of date. Thank you, it works great!