Add jpkg packaging

ober

2e9a9a442d238d08c36466bdae1a8d68f9e0418c

diff --git a/.builds/ci.yml b/.builds/ci.yml
index 1b25d84..7288039 100644
--- a/.builds/ci.yml
+++ b/.builds/ci.yml
@@ -16,10 +16,22 @@ packages:
 sources:
 - https://git.sr.ht/~lisp/jerboa
 - https://git.sr.ht/~lisp/jerboa-pcre2
+artifacts:
+- jerboa-pcre2/jerboa-pcre2-0.1.0.jpkg
 tasks:
 - build-jerboa: |
     cd jerboa
     make jerboa
+    echo 'export PATH="$HOME/jerboa/dist:$PATH"' >> ~/.buildenv
+- package: |
+    cd jerboa-pcre2
+    J="$HOME/jerboa/dist/jerboa"
+    "$J" pkg verify
+    "$J" pkg policy
+    "$J" pkg build
+    "$J" pkg pack --output "$PWD/jerboa-pcre2-0.1.0.jpkg"
+    "$J" pkg verify "$PWD/jerboa-pcre2-0.1.0.jpkg"
+    "$J" pkg verify --reproduce
 - verify: |
     cd jerboa-pcre2
     PATH="$HOME/jerboa/dist:$PATH" JERBUILD="$HOME/jerboa/dist/jerbuild" make verify
diff --git a/jpkg.sexp b/jpkg.sexp
new file mode 100644
index 0000000..f3eb9d9
--- /dev/null
+++ b/jpkg.sexp
@@ -0,0 +1,11 @@
+(package
+  (name "@lisp/jerboa-pcre2")
+  (version "0.1.0")
+  (description "PCRE2 regex bindings for Jerboa")
+  (license "MIT")
+  (source "https://git.sr.ht/~lisp/jerboa-pcre2")
+  (jerboa ">=0.2.0")
+  (modules ((root ".")))
+  (dependencies ())
+  (dev-dependencies ())
+  (capabilities ()))