diff options
author | haawda | 2020-02-20 18:00:41 +0100 |
---|---|---|
committer | haawda | 2020-02-20 18:00:41 +0100 |
commit | 6a8a33d1308902059a3172a3d48d1d575aa6a320 (patch) | |
tree | ac7753024b07cb8ff7f572641a1b7c67b46199c6 | |
download | aur-6a8a33d1308902059a3172a3d48d1d575aa6a320.tar.gz |
initial upload
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..06413ad5cae4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = jove-git + pkgdesc = Emacs-like editor without Lisp from github + pkgver = 132.20200218 + pkgrel = 1 + url = https://github.com/jonmacs/jove/ + arch = i686 + arch = x86_64 + license = custom + depends = termcap + depends = glibc + provides = jove + conflicts = jove + source = git+https://github.com/jonmacs/jove/#branch=moraes + sha256sums = SKIP + +pkgname = jove-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c5dad633264 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Contributor: Loui Chang <louipc [dot.] ist [at@] gmail.com> +# Contributor: aksr <aksr at t-com dot me> +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> + +pkgname=jove-git +pkgver=132.20200218 +pkgrel=1 +pkgdesc=" Emacs-like editor without Lisp from github" +url="https://github.com/jonmacs/jove/" +license=('custom') +arch=('i686' 'x86_64') +depends=('termcap' 'glibc') +provides=('jove') +conflicts=('jove') +source=("git+$url#branch=moraes") +sha256sums=('SKIP') + +pkgver() { + cd ${pkgname%-git} + printf "%s.%s" $(git rev-list --count HEAD) \ + $(git log -1 --format="%cd" --date=short | tr -d '-') +} + +build() { + cd ${pkgname%-git} + make SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500" \ + JOVEHOME=/usr SHARDIR=/usr/share/jove TMPDIR=/var/tmp \ + RECDIR=/var/tmp/jove.preserve DFLTSHELL=/bin/bash +} + +package() { + cd ${pkgname%-git} + install -d "$pkgdir"/usr/{bin,lib/jove,share/{jove,man/man1}} + make JOVEHOME="$pkgdir"/usr install + for _f in "$pkgdir"/usr/man/man1/jove.1 "$pkgdir"/usr/man/man1/teachjove.1 + do + install -Dm644 ${_f} "$pkgdir"/usr/share/man/man1/${_f} + done + rm -rf "$pkgdir"/usr/man/ + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |