Package Details: repoctl 0.19-1

Git Clone URL: https://aur.archlinux.org/repoctl.git (read-only, click to copy)
Package Base: repoctl
Description: A supplement to repo-add and repo-remove which simplifies managing local repositories
Upstream URL: https://github.com/cassava/repoctl
Keywords: aur pacman repository
Licenses: MIT
Submitter: cassava
Maintainer: cassava
Last Packager: cassava
Votes: 14
Popularity: 0.26
First Submitted: 2015-07-19 09:04
Last Updated: 2020-01-03 21:43

Latest Comments

cassava commented on 2020-01-03 21:46

Hey guys, the newest version of repoctl should resolve the problems with Zstd. Sorry about that! (Will investigate it further to prevent such things causing issues in the future, as soon as I find the time. But for now, it should work.)

Also, thanks for the advice yochanmarqos, I'll see if I can implement this soon.

yochananmarqos commented on 2020-01-01 23:53

No need for both ln and mv when it can be done in one command:

prepare() {
  dest="$srcdir/src/github.com/cassava"
  mkdir -p "$dest"
  ln -rTsf "$srcdir/${_pkgname}" "$dest/repoctl"
}

Please use go-pie instead of go per Go package guidelines.

Do not use the !strip option; in fact the binary needs to be stripped of the build path using the -trimpath flags:

build() {
  export GOPATH="$srcdir"
  src="$srcdir/src/github.com/cassava/repoctl"
  cd "$src/cmd/repoctl"
  go build \
  -trimpath \
  -ldflags "-extldflags ${LDFLAGS}" \
  .
}

CanalGuada commented on 2019-10-24 14:14

I guess it does not simplify managing local repositories if a repoctl add -m dumps the whole said repositories when "adding" a package with the brand new Zstd archive format.

cassava commented on 2016-04-23 09:49

Hey guys, sorry for the great delay. I've updated the package to 0.14. This release also does not require git to build. Let me know if there are any problems. I will monitor these comments better now.

TrialnError commented on 2016-04-15 10:44

runical: Because the SRCINFO wasn't updated. That is the reason for the mismatch

runical commented on 2015-11-06 22:56

Is there somebody there? This package needs git to build on a system without git installed (like a clean chroot). Please add it to the builddepends.

Also, your PKGBUILD rel does not match the pkgrel the AUR gives. Why?

runical commented on 2015-09-09 19:47

The pkgbuild is missing git as a makedepend. Go uses it to get some libraries I guess.