summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPoscat2019-11-25 21:13:59 +0800
committerPoscat2019-11-25 21:13:59 +0800
commita9790c010b0231354c724b2c0f7a4e72b268fbf6 (patch)
treeb44f63b0913c391d7727634574ee4c9cfcbebbfd
downloadaur-a9790c010b0231354c724b2c0f7a4e72b268fbf6.tar.gz
Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD23
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4a3e0d904f3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = emacs-web-server
+ pkgdesc = web server running Emacs Lisp handlers.
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/eschulte/emacs-web-server
+ arch = any
+ license = GPL3
+ depends = emacs
+ source = https://github.com/eschulte/emacs-web-server/archive/version-0.1.0.tar.gz
+ sha256sums = be24796ad47335ce91ec3e142d52ee07f00ca79078312a0759bce135e1bf414e
+
+pkgname = emacs-web-server
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d67e18d1a46
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Poscat <poscat@mail.poscat.moe>
+
+pkgname=emacs-web-server
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="web server running Emacs Lisp handlers."
+arch=('any')
+url="https://github.com/eschulte/emacs-web-server"
+license=('GPL3')
+depends=('emacs')
+makedepends=()
+source=("https://github.com/eschulte/emacs-web-server/archive/version-${pkgver}.tar.gz")
+noextract=()
+sha256sums=('be24796ad47335ce91ec3e142d52ee07f00ca79078312a0759bce135e1bf414e')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -D -m 644 web-server.el "${pkgdir}"/usr/share/emacs/site-lisp/web-server/web-server.el
+}