Package Details: repoctl-git 0.21.r0.g92ed55f-1

Git Clone URL: https://aur.archlinux.org/repoctl-git.git (read-only, click to copy)
Package Base: repoctl-git
Description: An AUR helper that also simplifies managing local Pacman repositories (development version)
Upstream URL: https://github.com/cassava/repoctl
Licenses: MIT
Conflicts: repoctl
Provides: repoctl
Submitter: haawda
Maintainer: bartus (cassava)
Last Packager: bartus
Votes: 2
Popularity: 0.143122
First Submitted: 2015-06-08 22:45
Last Updated: 2020-09-01 08:27

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

cassava commented on 2020-09-06 19:47

Hey @bartus, sorry about that! I used to actually have a PKGBUILD in the repository but removed it after I noticed that even other Archlinux tools didn't have one.

What I could do is run a test build myself every time I push something to master to make sure it didn't break anything and let you know here otherwise. How does that sound?

bartus commented on 2020-09-01 08:29

@cassava, @TheGoliath I've renormalized the PKGBUILD to make it congruent to @cassava's aur/repoctl one.

btw. @cassava: Consider including reference PKGBUID in the repo, I like to learn new stuff but have some hiccup when you dropped contrib/completions without mentioning how the autogenerate ones works with sfp13/cobra module :)

cassava commented on 2020-08-31 19:55

There's been some changes to the build process since moving the repository over to Go modules. You might want to reference the PKGBUILD for repoctl plain.

bartus commented on 2020-08-31 17:05

There was some refactoring upstream that requires a minor adjustments to PKGBUILD (mainly module move/rename and autogenerating completions)

Patch

#merge with
git am -s < <(curl -s http://ix.io/2vNS)

Alad commented on 2020-05-12 11:33

Made you comaintainer so you can fix it.

bartus commented on 2020-01-05 15:11

The naming scheme for completion files has changed Also would be nice to install bash completion.

git am < <(curl -s "https://pastebin.com/raw/BvXeL8z1")

yochananmarqos commented on 2020-01-02 00:07

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

prepare() {
  local 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"
  local src="$srcdir/src/github.com/cassava/repoctl" 

  cd "$src/cmd/repoctl"
  go build \
  -trimpath \
  -ldflags "-extldflags ${LDFLAGS}" \
  .

  cd "$src/cmd/repols"
  go build \
  -trimpath \
  -ldflags "-extldflags ${LDFLAGS}" \
  .
}

PedroHLC commented on 2019-12-21 10:36

Hi, could the branch "devel" be used instead? I'm in need of the zst support.

haawda commented on 2018-05-13 18:35

The last line fails for me: install -Dm644 contrib/zsh_completion "$pkgdir/usr/share/zsh/site-functions/_repoctl"

haawda commented on 2018-04-25 15:28

'contrib/zsh_completion' seems to be missing or moved in the upstream repo now.