diff options
author | Klaus Alexander Seistrup | 2024-01-29 17:28:33 +0100 |
---|---|---|
committer | Klaus Alexander Seistrup | 2024-01-29 17:28:33 +0100 |
commit | 0b14b68282bdca61c40f151f4e40ce1991700da6 (patch) | |
tree | 4cf3d925fbef7932ecb8196edfabe1f8aa3962b1 | |
parent | 6d9456042cd2bb092b1f18cd61d13db2d024a27a (diff) | |
download | aur-0b14b68282bdca61c40f151f4e40ce1991700da6.tar.gz |
Now with installation instructions
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | jedstate-git.install | 18 |
3 files changed, 22 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = jedstate-git pkgdesc = S-Lang module for the JED editor to remember its cursor position across invocations (built from latest commit) - pkgver = 0.9.6.r1.gb43619d + pkgver = 0.9.6.r2.g09a671e pkgrel = 1 url = https://codeberg.org/kas/jedstate + install = jedstate-git.install arch = any license = AGPL-3.0-or-later makedepends = git @@ -3,7 +3,7 @@ pkgname='jedstate-git' _pkgname="${pkgname/-git/}" -pkgver=0.9.6.r1.gb43619d +pkgver=0.9.6.r2.g09a671e pkgrel=1 pkgdesc='S-Lang module for the JED editor to remember its cursor position across invocations (built from latest commit)' arch=('any') @@ -15,6 +15,7 @@ provides=("$_pkgname") conflicts=("$_pkgname") source=("git+$url.git") md5sums=('SKIP') +install="$pkgname.install" pkgver() { cd "$_pkgname" diff --git a/jedstate-git.install b/jedstate-git.install new file mode 100644 index 000000000000..cfd3c6913d1b --- /dev/null +++ b/jedstate-git.install @@ -0,0 +1,18 @@ +# -*- sh -*- + +pre_install() { + cat <<EOF >&2 +NB: In order to use this package you will have to edit + startup_hok() and exit_hook() of your ~/.jedrc and + also include two autoload() stanzas. + + See /usr/share/doc/$pkgname/jedstate-hooks.sl + for an example. +EOF +} + +pre_upgrade() { + pre_install "$@" +} + +# eof |