Package Details: micro-git v2.0.8.r39.gba98b558-1

Git Clone URL: (read-only, click to copy)
Package Base: micro-git
Description: A modern and intuitive terminal-based text editor
Upstream URL:
Keywords: micro text-editor
Licenses: MIT
Conflicts: micro, micro-bin, micro-nightly-bin
Provides: micro
Submitter: sukso96100
Maintainer: LevitatingRein
Last Packager: Jake
Votes: 17
Popularity: 0.001559
First Submitted: 2016-04-27 11:14
Last Updated: 2021-02-12 18:11

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

relrel commented on 2021-02-12 10:54

Please change url to

kseistrup commented on 2020-02-10 16:04


Jake commented on 2020-02-10 12:18

@kseistrup: Yes, it picked up the short commit hash as version number. Should be fixed now, at least it works with yay.

kseistrup commented on 2020-02-10 10:54

The version thing is still wrong: current AUR repos is v2.0.0.rc3.63046ae9-1 and current git version tuirns out as v2.0.0.rc3.00205aa6-1, so any package manager will assume that the package needs an update no matter how many time you install it.

The pkgver function needs to make a monotonously increasing version string. At the moment it doesn't because the next to last component is a random hex string in the interval 00000000-ffffffff.

Mel commented on 2020-01-22 13:56

Same for aurutils:

==> Using [loonix] repository
  -> micro-git: v2.0.0.rc2.1dc1c655-1 -> v2.0.0.rc2.97ee3442-1
==> Retrieving package files
 = [up to date]      master     -> origin/master
==> WARNING: skipping built package (use -f to overwrite)

kseistrup commented on 2020-01-22 10:59

There is something wrong: No matter how many times I install this package, yay wants to build a new package because it thinks the installed packge is older:

1  aur/micro-git  v2.0.0.rc2.1dc1c655-1 -> v2.0.0.rc2.97ee3442-1

v2.0.0.rc2.1dc1c655-1 is what pkgver() produces.

LevitatingRein commented on 2020-01-16 01:10

conflicts=('micro-bin' 'micro' 'micro-nightly-bin') provides=('micro')

You should add these lines to reduce conflict with all the other micro packages.

tommyshem commented on 2020-01-06 03:18

Please try below - small chances removed symlinks and make install add tr from below comment from kseistrup changed path to suit

# Maintainer: Jake <>
# Contributor: Youngbin Han <>
# Contributor: Andrew Kluger <>
pkgdesc="A modern and intuitive terminal-based text editor"
arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'aarch64')
makedepends=('go' 'git')
optdepends=('xclip: Required for copying/pasting text')

pkgver() {
    cd "${srcdir}/${pkgname}"
    echo "$(git tag | sort -V | tail -1).$(git rev-parse --short HEAD)" | tr '-' '.'

 cd "${srcdir}/${pkgname}"
 export GOBIN="$GOPATH/bin"

 install -Dm755 $srcdir/$pkgname/micro "$pkgdir/usr/bin/micro"
 install -Dm644 $srcdir/$pkgname/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

kseistrup commented on 2019-12-27 08:33

The hyphen is not the only problem:

If I add a “tr '-' '.'” to the pkgver() function, then makepkg doesn't complain about the package version, but it will fail during build():

==> Starting pkgver()...
==> Updated version: micro-git v2.0.0.rc1.b1efabaa-1
==> Starting build()...
ln: failed to create symbolic link 'src/': No such file or directory
==> ERROR: A failure occurred in build().

MarcusE1W commented on 2019-12-26 12:19

Currently the new 2.0 release candidate cannot be installed. I am not sure though if it is the naming convention of the release candidate with a '-'. Could get automatically resolved once the final 2.0 release gets published.