@dmarcoux/tag-ag
AUR package for aykamko/tag: Instantly jump to your ag matches.
This repository is an
AUR package for
aykamko/tag. For any information regarding
tag
itself, please refer to its repository.
This AUR package is following GitHub releases of tag
. It doesn't follow every
commit on the master
branch.
Using your favorite AUR helper, install the tag-ag AUR package like this:
$ aura -A tag-ag
This section is mostly notes on how this package is maintained.
Whenever setting up the environment to maintain this package, these manual steps must be done once.
Have a look on the wiki if you don't already have write access to the AUR.
The github.com/dmarcoux/tag-ag
repository is a mirror of the
aur.archlinux.org/tag-ag
repository. Set it up by running the following
commands:
$ git clone git+ssh://[email protected]/tag-ag.git
$ git remote set-url origin --add [email protected]:dmarcoux/tag-ag.git
Whenever updating this package, these steps must always be done.
The tool mksrcinfo
provided by the AUR package
pkgbuild-introspection-git
is really useful to generate the .SRCINFO
file. Simply run the command in the
repository's root directory to use it:
$ mksrcinfo
The script updpkgsums
(which comes with pacman
's version 4.1 or greater) is
a simple way to generate the checksums in the PKGBUILD
file. It is as simple
as running the script in the repository's root directory:
$ updpkgsums
The script makepkg
(which comes with pacman
) is the usual way to validate a
PKGBUILD
file. With a valid PKGBUILD
file, it will create a package; with a
nonvalid PKGBUILD
file, it will raise an error. Simply run the command in the
repository's root directory to use it:
$ makepkg
All steps in the Routine Update
section can be automated. To do so, I use a
git pre-commit hook (pre-commit.sh). Set it up by running the
following command in the repository's root directory:
$ ln -s ../../pre-commit.sh .git/hooks/pre-commit