summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurelien <tek@localhost.localdomain>2012-12-30 18:57:37 +0100
committeraurelien <tek@localhost.localdomain>2012-12-30 18:57:37 +0100
commitb6cb10de275cea63bab0bee2a98342afa4fdc4ee (patch)
tree9736770dbd6bf695a100eb88a00de98b70a9f262
parentd731a980f156ec8d47292e47b63a17bced3d0268 (diff)
+ chm2pdf newlisp emacs-newlisp
-rw-r--r--pcr/chm2pdf/PKGBUILD22
-rw-r--r--pcr/emacs-newlisp/PKGBUILD24
-rw-r--r--pcr/emacs-newlisp/emacs-newlisp.install26
-rw-r--r--pcr/newlisp/PKGBUILD26
-rw-r--r--pcr/newlisp/newlisp.install20
5 files changed, 118 insertions, 0 deletions
diff --git a/pcr/chm2pdf/PKGBUILD b/pcr/chm2pdf/PKGBUILD
new file mode 100644
index 000000000..16586e732
--- /dev/null
+++ b/pcr/chm2pdf/PKGBUILD
@@ -0,0 +1,22 @@
+# Contributor: Rodrigo Coacci <rcoacci@gmail.com>
+# Contributor: fes0
+# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.IO>
+
+pkgname=chm2pdf
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="A simple Python script that converts CHM files into PDF files."
+arch=('any')
+license=('GPL2')
+url="http://code.google.com/p/chm2pdf/"
+depends=('chmlib' 'python2' 'python2-pychm' 'htmldoc')
+optdepends=('beautiful-soup: A Python HTML/XML parser designed for quick turnaround projects like screen-scraping')
+source=('http://chm2pdf.googlecode.com/files/chm2pdf-0.9.1.tar.gz')
+
+
+build() {
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $srcdir/$pkgname-$pkgver/chm2pdf
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py install --root=$startdir/pkg
+}
+
diff --git a/pcr/emacs-newlisp/PKGBUILD b/pcr/emacs-newlisp/PKGBUILD
new file mode 100644
index 000000000..25dcbc219
--- /dev/null
+++ b/pcr/emacs-newlisp/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: Jan Kròávek <wamba@centrum.cz>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@cwb.IO>
+
+pkgname=emacs-newlisp
+pkgver=0.25
+pkgrel=5
+arch=('any')
+pkgdesc="Emacs mode for Newlisp."
+url="http://artfulcode.net/projects"
+depends=('emacs')
+makedepends=('unzip')
+license=('GPL')
+source=(http://www.artfulcode.net/wp-content/uploads/2008/12/newlisp-mode.zip)
+noextract=newlisp-mode.zip
+install=emacs-newlisp.install
+
+build() {
+ cd $srcdir
+ unzip -quo newlisp-mode.zip || return 1
+ cd $srcdir/newlisp-mode || return 1
+ install -d $pkgdir/usr/share/emacs/site-lisp/newlisp-mode
+ install -Dm644 *.el $pkgdir/usr/share/emacs/site-lisp/newlisp-mode
+}
diff --git a/pcr/emacs-newlisp/emacs-newlisp.install b/pcr/emacs-newlisp/emacs-newlisp.install
new file mode 100644
index 000000000..640e19d16
--- /dev/null
+++ b/pcr/emacs-newlisp/emacs-newlisp.install
@@ -0,0 +1,26 @@
+# vim: set ft=sh:
+post_install() {
+ echo "
+=> Autoloading:
+ ------------
+ In your .emacs or .init.el
+ (add-to-list 'load-path (expand-file-name \"/usr/share/emacs/site-lisp/newlisp-mode\"))
+ (add-to-list 'auto-mode-alist '(\"\\\\.lsp\\\\'\" . newlisp-mode))
+ (autoload 'newlisp-mode \"newlisp\" \"Turn on NewLisp mode\" t)
+ (turn-on-font-lock)
+
+=> Newlisp is started with the Emacs command M-x newlisp-mode."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install
+}
+
+op=$1
+shift
+
+$op $*
diff --git a/pcr/newlisp/PKGBUILD b/pcr/newlisp/PKGBUILD
new file mode 100644
index 000000000..a53106390
--- /dev/null
+++ b/pcr/newlisp/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor: scrawler <scrawler@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@cwb.IO>
+
+pkgname=newlisp
+pkgver=10.4.5
+pkgrel=1
+pkgdesc="newLISP is a LISP like, general purpose scripting language."
+url="http://www.newlisp.org"
+license=('GPL')
+arch=('x86_64' 'i686')
+depends=('readline')
+optdepends=('openjdk6')
+options=('docs')
+source=(http://newlisp.org/downloads/$pkgname-$pkgver.tgz)
+install=$pkgname.install
+
+build() {
+cd $srcdir/$pkgname-$pkgver
+./configure
+[ $CARCH = "x86_64" ] && make -f makefile_linuxLP64_utf8
+[ $CARCH = "i686" ] && make -f makefile_linux_utf8
+install -d $pkgdir/usr/bin
+install -d $pkgdir/usr/share/man/man1
+make bindir=$pkgdir/usr/bin mandir=$pkgdir/usr/share/man \
+datadir=$pkgdir/usr/share install
+}
diff --git a/pcr/newlisp/newlisp.install b/pcr/newlisp/newlisp.install
new file mode 100644
index 000000000..2c7fd8481
--- /dev/null
+++ b/pcr/newlisp/newlisp.install
@@ -0,0 +1,20 @@
+pre_install() {
+ rm /usr/bin/newlisp
+}
+
+post_install() {
+ ln -sf /usr/bin/newlisp-10.4.5 /usr/bin/newlisp
+}
+
+pre_upgrade() {
+[[ -f /usr/bin/newlisp ]] && rm /usr/bin/newlisp
+}
+
+post_upgrade() {
+ ln -sf /usr/bin/newlisp-10.4.5 /usr/bin/newlisp
+}
+
+pre_remove() {
+[[ -f /usr/bin/newlisp ]] && rm /usr/bin/newlisp
+}
+