Package Details: qpm v0.11.0-1

Git Clone URL: https://aur.archlinux.org/qpm.git (read-only, click to copy)
Package Base: qpm
Description: Qt Package Manager
Upstream URL: http://qpm.io
Licenses: LGPL
Provides: qpm
Submitter: sirspudd
Maintainer: None
Last Packager: sirspudd
Votes: 9
Popularity: 0.000000
First Submitted: 2015-09-09 19:11 (UTC)
Last Updated: 2018-09-18 00:22 (UTC)

Dependencies (2)

Required by (3)

Sources (1)

Latest Comments

fow0ryl commented on 2022-08-19 07:12 (UTC)

Got the go.mod missing message too. I just changed a go variable to make it work.

go env -w GO111MODULE=auto

Vitrum-cnkj34kr8 commented on 2022-04-12 12:18 (UTC)

@VaguelyUseful, add https to the source:

source=("qpm.io::git+https://github.com/Cutehacks/qpm#tag=${pkgver}")

VaguelyUseful commented on 2022-04-12 12:08 (UTC)

This package won't clone from github for the following reason...

fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. ==> ERROR: Failure while downloading qpm.io git repo

b100dian commented on 2022-01-10 15:37 (UTC)

I needed to use an older go package for this to build (e.g. 2:1.15.5-2) because of missing go.mod file

sirspudd commented on 2018-09-18 00:35 (UTC)

My apologies for the delaying in addressing this; I have updated the recipe in accordance with @Skycoder42's points

solnce commented on 2018-09-10 10:56 (UTC)

Please update according to Skycoder42's comments. This PKGBUILD is currently broken.

Skycoder42 commented on 2018-06-01 21:20 (UTC) (edited on 2018-06-01 21:29 (UTC) by Skycoder42)

Please do not use $startdir. It has been deprecated (See https://www.archlinux.org/pacman/PKGBUILD.5.html) and will fail for builds that use the makepkg env vars like BUILDDIR

Instead, you should simply use relative path. Here are the relevant parts from the makepkg that need to be changed:

build() {
  local _qpm_dir="${srcdir}/qpm.io"
  cd $_qpm_dir
  local git_sha1=$(git rev-parse HEAD | cut -c1-8)

  cd $srcdir
  export GOPATH="$srcdir/.."
  go build -ldflags "-X qpm.io/qpm/core.Version=${pkgver} -X qpm.io/qpm/core.Build=${git_sha1}" qpm.io/qpm
}

package() {
  install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}

Vitrum-cnkj34kr8 commented on 2018-05-29 07:32 (UTC) (edited on 2018-05-29 07:45 (UTC) by Vitrum-cnkj34kr8)

qpm v0.11.0
# Maintainer: Donald Carr<sirspudd@gmail.com>
# Upstream URL: http://qpm.io
#
# For improvements/fixes to this package, please send a pull request:
# https://github.com/Cutehacks/qpm

pkgname=qpm
pkgver=v0.11.0
pkgrel=1
pkgdesc='Qt Package Manager'
arch=('x86_64' 'i686')
url='http://qpm.io'
license=('LGPL')
makedepends=('go' 'git')
source=("qpm.io::git://github.com/Cutehacks/qpm#tag=${pkgver}")
sha256sums=('SKIP')

prepare() {
  mkdir src
  mv qpm.io src/
  cd "${srcdir}/src/qpm.io"
  git submodule init
  git submodule update
}

build() {
  cd "${srcdir}/src/qpm.io"
  git_sha1=$(git rev-parse HEAD | cut -c1-8)

  cd "${srcdir}"
  export GOPATH="${srcdir}"
  go build -ldflags "-X qpm.io/qpm/core.Version=${pkgver} -X qpm.io/qpm/core.Build=${git_sha1}" qpm.io/qpm
}

package() {
  install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}

vith commented on 2016-04-24 08:31 (UTC)

build fails https://gist.github.com/vith/778584ed78c82988c90745f6858e9aaf