summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ccf7a2407b0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Contributor: Alex Whitt <alex.joseph.whitt@gmail.com>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=emacs-seq
+pkgver=2.20
+pkgrel=1
+pkgdesc="Sequence manipulation functions, included in emacs 27"
+_pkgname=seq
+arch=(any)
+url="http://elpa.gnu.org/packages/seq.html"
+license=('GPL3')
+depends=('emacs')
+source=("https://elpa.gnu.org/packages/${_pkgname}-$pkgver.tar")
+sha256sums=('1634947f0944908c7dbfb3b11c7c899b6d486b7ceadb79bd7e60496fade9376f')
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ mkdir -p "$pkgdir"/usr/share/emacs/site-lisp/
+ install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp/
+}