summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlaus Alexander Seistrup2024-01-29 17:28:33 +0100
committerKlaus Alexander Seistrup2024-01-29 17:28:33 +0100
commit0b14b68282bdca61c40f151f4e40ce1991700da6 (patch)
tree4cf3d925fbef7932ecb8196edfabe1f8aa3962b1
parent6d9456042cd2bb092b1f18cd61d13db2d024a27a (diff)
downloadaur-0b14b68282bdca61c40f151f4e40ce1991700da6.tar.gz
Now with installation instructions
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--jedstate-git.install18
3 files changed, 22 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4408daf0cf07..0f7fd999a712 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 997a501a957a..9df29e75406d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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