Package Details: nvi-multibyte-git 1.81.6_20200915-1

Git Clone URL: https://aur.archlinux.org/nvi-multibyte-git.git (read-only, click to copy)
Package Base: nvi-multibyte-git
Description: Upstream nvi with enabled multibyte support
Upstream URL: git://repo.or.cz/nvi.git
Keywords: bsd editor nvi vi vim
Licenses: BSD
Conflicts: nvi
Submitter: Invarianz
Maintainer: Invarianz
Last Packager: Invarianz
Votes: 3
Popularity: 0.000056
First Submitted: 2023-02-06 20:46 (UTC)
Last Updated: 2023-02-06 20:46 (UTC)

Pinned Comments

Invarianz commented on 2023-02-14 08:27 (UTC) (edited on 2023-02-14 08:27 (UTC) by Invarianz)

This used to be the nvi-multibyte-upstream repository. If you still have nvi-multibyte-upstream installed remove it before installing from this repo as there will be conflicts.

Latest Comments

Invarianz commented on 2023-02-14 08:27 (UTC) (edited on 2023-02-14 08:27 (UTC) by Invarianz)

This used to be the nvi-multibyte-upstream repository. If you still have nvi-multibyte-upstream installed remove it before installing from this repo as there will be conflicts.

archdub commented on 2021-09-24 21:56 (UTC) (edited on 2021-09-25 06:15 (UTC) by archdub)

Updated to the latest in git, use sha instead of md5.

# Maintainer: cmichi <mich [at] elmueller [dot] net>
#
# This package aims to provide the latest offical, upstream nvi
# with multibyte support enabled.

pkgname=nvi-multibyte-upstream
pkgdesc="Upstream nvi with enabled multibyte support"
arch=('x86_64')
url="git://repo.or.cz/nvi.git"
license=("BSD")
conflicts=("nvi")

_COMMIT="864873d3f353ab3e54040817ec562bd3b346b55f"
source=("http://repo.or.cz/nvi.git/snapshot/$_COMMIT.tar.gz")
sha256sums=('f3deecd2f24bf58c1bc2e7f6efcc9419493c1c3b52137ee86fbaee8c83807251')

# the last official release was 1.81.6, but there have been
# commits since then. hence i append the timestamp of the
# latest commit to the version number.
_COMMIT_HASH="${_COMMIT:0:7}"
pkgver=1.81.6_20200915

pkgrel=2

build(){
  cd "$srcdir"/nvi-$_COMMIT_HASH/dist/
  ./distrib
  cd ../build.unix

  ../dist/configure \
    --prefix="$pkgdir"/usr \
    --program-prefix=n \
    --enable-widechar # for multibyte support

  make
}

package(){
  cd "$srcdir"/nvi-$_COMMIT_HASH/build.unix

  make install

  # license
  install -Dm644 "$srcdir"/nvi-$_COMMIT_HASH/LICENSE \
          "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

cmichi commented on 2018-05-07 16:42 (UTC)

@ncoop Thanks for the suggestion! I updated the package.

commented on 2018-03-31 21:47 (UTC)

PKGBUILD should provide or conflict with nvi.