summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eb88a6ef123
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Contributor: Johannes Weiner <hannes@saeurebad.de>
+# Contributor: Daniel Leidisch <spam@leidisch.net>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=slime
+pkgver=2.15
+pkgrel=1
+pkgdesc="The Superior Lisp Interaction Mode for Emacs"
+arch=('any')
+url="http://common-lisp.net/project/slime"
+license=('GPL')
+depends=('emacs' 'awk')
+makedepends=('texinfo' 'texlive-core')
+optdepends=('awk: for recreating the documentation'
+ 'texlive-core: for recreating the documentation')
+provides=('slime')
+conflicts=('slime')
+install=slime.install
+source=("https://github.com/slime/slime/archive/v$pkgver.tar.gz")
+md5sums=('d7fff5a030cabfc9354f72b92b90c5d0')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -d $pkgdir/usr/share/emacs/site-lisp/slime
+ cp -r * $pkgdir/usr/share/emacs/site-lisp/slime
+
+ install -d $pkgdir/usr/share/common-lisp/systems
+ ln -s /usr/share/emacs/site-lisp/slime/swank.asd \
+ $pkgdir/usr/share/common-lisp/systems/
+
+ install -D -m644 README.md \
+ $pkgdir/usr/share/licenses/$pkgname/public_domain.txt
+ cd doc
+ make infodir=$pkgdir/usr/share/info install
+ rm $pkgdir/usr/share/info/dir
+ install -Dm644 slime-refcard.pdf \
+ $pkgdir/usr/share/doc/slime/slime-refcard.pdf
+}