From b6cb10de275cea63bab0bee2a98342afa4fdc4ee Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 30 Dec 2012 18:57:37 +0100 Subject: + chm2pdf newlisp emacs-newlisp --- pcr/chm2pdf/PKGBUILD | 22 ++++++++++++++++++++++ pcr/emacs-newlisp/PKGBUILD | 24 ++++++++++++++++++++++++ pcr/emacs-newlisp/emacs-newlisp.install | 26 ++++++++++++++++++++++++++ pcr/newlisp/PKGBUILD | 26 ++++++++++++++++++++++++++ pcr/newlisp/newlisp.install | 20 ++++++++++++++++++++ 5 files changed, 118 insertions(+) create mode 100644 pcr/chm2pdf/PKGBUILD create mode 100644 pcr/emacs-newlisp/PKGBUILD create mode 100644 pcr/emacs-newlisp/emacs-newlisp.install create mode 100644 pcr/newlisp/PKGBUILD create mode 100644 pcr/newlisp/newlisp.install 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 +# Contributor: fes0 +# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières + +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 +# Contributor: Stefan Husmann +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES + +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 +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES + +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 +} + -- cgit v1.2.3 From 433900b14f11dc9ee55b72e8e5946bf47f65b636 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 31 Dec 2012 17:29:27 -0300 Subject: Mosquitto is an Open Source MQTT v3.1 Broker --- pcr/mosquitto/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pcr/mosquitto/PKGBUILD diff --git a/pcr/mosquitto/PKGBUILD b/pcr/mosquitto/PKGBUILD new file mode 100644 index 000000000..0a7209f0b --- /dev/null +++ b/pcr/mosquitto/PKGBUILD @@ -0,0 +1,34 @@ +# This is the PKGBUILD for mosquitto, an MQTT broker and example clients +# Maintainer: Dan Anderson +# Contributor: Gordon JC Pearce + +pkgname=mosquitto +pkgver=1.1 +pkgrel=1 +pkgdesc="An MQTT broker and clients" +arch=(i686 x86_64 mips64el) +url="http://mosquitto.org/" +makedepends=('python') +optdepends=('python: python support') +license=('BSD') +source=(http://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz{,.asc}) +md5sums=('ab51f64eb3f0041402073aa7865f3ec4' + '76fbc38a2eb0b8110caf7ac1f43d4057') + +build() { + cd "$srcdir/$pkgname-$pkgver" +# Remove hardcoded prefix + find -name Makefile -exec sed '/prefix=/d' -i {} \; + + make prefix=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make prefix=/usr DESTDIR="$pkgdir/" install + + install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -Dm644 LICENSE-3rd-party.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-3rd-party +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3 From 9114df56ef51d4f9f3e100c19d2f4fe493889d88 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Tue, 1 Jan 2013 15:31:56 -0200 Subject: libav-builder: add package to pcr, needed for build python2-renpy --- pcr/libav-builder/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 pcr/libav-builder/PKGBUILD diff --git a/pcr/libav-builder/PKGBUILD b/pcr/libav-builder/PKGBUILD new file mode 100644 index 000000000..372243b2a --- /dev/null +++ b/pcr/libav-builder/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer (Parabola): Márcio Silva + +static=false +pkgbase=libav +if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then + pkgname=libav-static-builder +elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then + pkgname=libav-builder +fi +pkgflag=builder +pkgver=0.8.4 +pkgrel=1 +pkgdesc="Link files on /usr/include and /usr/lib dir (ONLY FOR BUILD OTHERS PACKAGES)" +arch=any +url="http://$pkgbase.org/" +license=GPL +depends=${pkgname%-$pkgflag}=$pkgver +conflicts=( + ffmpeg + ffmpeg-static +) +if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then + conflicts+=( + ${pkgname%-static-$pkgflag} + ) +elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then + conflicts+=( + ${pkgname%-$pkgflag}-static + ) +fi + +package() { + install -m755 -d $pkgdir/usr/{include,lib{,/pkgconfig}} + include_list=$(ls /opt/${pkgname%-$pkgflag}/include) + for i in $include_list; do + ln -s /opt/${pkgname%-$pkgflag}/include/$i $pkgdir/usr/include + done + lib_list=$(ls /opt/${pkgname%-$pkgflag}/lib | grep lib) + for l in $lib_list; do + ln -s /opt/${pkgname%-$pkgflag}/lib/$l $pkgdir/usr/lib + done + pkgconfig_list=$(ls /opt/${pkgname%-$pkgflag}/lib/pkgconfig) + for c in $pkgconfig_list; do + ln -s /opt/${pkgname%-$pkgflag}/lib/pkgconfig/$c $pkgdir/usr/lib/pkgconfig + done +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3 From bc8cb28521bc78536ba1cdec53c798fbc478a75a Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Tue, 1 Jan 2013 16:06:16 -0200 Subject: python2-renpy: updating pkgbuild --- pcr/python2-renpy/ChangeLog | 32 ++++++++++++++++++++++ pcr/python2-renpy/PKGBUILD | 66 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 pcr/python2-renpy/ChangeLog create mode 100644 pcr/python2-renpy/PKGBUILD diff --git a/pcr/python2-renpy/ChangeLog b/pcr/python2-renpy/ChangeLog new file mode 100644 index 000000000..0a357d3db --- /dev/null +++ b/pcr/python2-renpy/ChangeLog @@ -0,0 +1,32 @@ +2012-28-07 AlexanderR + + * 6.14.1-1 : + new upstream release. + added renpy.diff. + +2012-22-07 AlexanderR + + * 6.13.12-3 : + fixed build with latest ffmpeg at cost of sound. + +2012-26-04 AlexanderR + + * 6.13.12-2 : + moved python-pygame from makedepends to depends. + +2012-20-04 AlexanderR + + * 6.13.12-1 : + new upstream release. + +2012-07-04 AlexanderR + + * 6.13.11-1 : + new upstream release. + moved python-pygame dependency form renpy to python-renpy. + +2011-22-03 AlexanderR + + * 16.13.9-2 : + added ChangeLog. + fixed corrupted images, caused by gcc optimization. diff --git a/pcr/python2-renpy/PKGBUILD b/pcr/python2-renpy/PKGBUILD new file mode 100644 index 000000000..4d6611548 --- /dev/null +++ b/pcr/python2-renpy/PKGBUILD @@ -0,0 +1,66 @@ +# Maintainer: AlexanderR +# Contributor: zhn +# Maintainer (Parabola): André Silva +# Maintainer (Parabola): Márcio Silva + +pkgname=python2-renpy +pkgflag=renpy +pkgver=6.14.1 +pkgrel=3 +pkgdesc="Platform-dependant Ren'Py libraries." +arch=( + i686 + x86_64 + mips64el +) +license=MIT +url="http://www.$pkgflag.org/" +depends=( + fribidi + glew + libav + libgl + python2-pygame +) +# python-argparse is part of distribution since 2.7 +makedepends=( + cython2 + libav-builder # to solve libav deps + mesa + 'python2>=2.7' +) +options=!buildflags +provides="python-$pkgflag=$pkgver" +conflicts=( + python-$pkgflag + "$pkgflag<$pkgver" + $pkgflag64 + $pkgflag-bin +) +renplaces=python-$pkgflag +changelog=ChangeLog +source=( + "http://www.$pkgflag.org/dl/$pkgver/$pkgflag-$pkgver-source.tar.bz2" +) + +md5sums=( + 16814530ba9ce1f2968bb8c8c785651b +) + +build() { + cd $srcdir/$pkgflag-$pkgver-source + + sed -i -e ' + s#!/usr/bin/env python#!/usr/bin/env python2#; + ' module/setup.py + + CFLAGS=-Os setarch $CARCH python2 module/setup.py build +} + +package(){ + cd $srcdir/$pkgflag-$pkgver-source + + # install python2-$pkgflag + CFLAGS=-Os setarch $CARCH python2 module/setup.py install --root=$pkgdir/ --prefix=/usr --optimize=1 + install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +} -- cgit v1.2.3 From 593a1335dd0bb92ac9f1e2a7a2ca12b3b3f06cd5 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Wed, 2 Jan 2013 10:58:51 -0200 Subject: luabind: add pkg to repo pcr --- pcr/luabind/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++ pcr/luabind/luabind_boost.patch | 59 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 pcr/luabind/PKGBUILD create mode 100644 pcr/luabind/luabind_boost.patch diff --git a/pcr/luabind/PKGBUILD b/pcr/luabind/PKGBUILD new file mode 100644 index 000000000..da47f927b --- /dev/null +++ b/pcr/luabind/PKGBUILD @@ -0,0 +1,53 @@ +# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $ +# Maintainer: Jakob Gruber +# Maintainer: Sven-Hendrik Haase +# Contributor: rayte +# Maintainer (Parabola): Márcio Silva + +pkgname=luabind +pkgver=0.9.1 +pkgrel=3 +pkgdesc='A library that helps you create bindings between C++ and Lua' +arch=( + i686 + x86_64 + mips64el +) +url="http://www.rasterbar.com/products/$pkgname.html" +license=MIT +makedepends=( + boost + boost-build + unzip +) +depends=( + gcc-libs + lua51 +) +source=( + "http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + ${pkgname}_boost.patch +) +md5sums=( + 8a323fb51d07dad5cfdb12c432793d55 + d62ae6fc635300bc659df9dbb587ac53 +) + +build() { + cd $srcdir/$pkgname-$pkgver + + patch -Np1 -i $srcdir/${pkgname}_boost.patch + + # build luabind + setarch $CARCH bjam release --prefix=$pkgdir/usr link=static,shared +} + +package() { + cd $srcdir/$pkgname-$pkgver + + setarch $CARCH bjam release --prefix=$pkgdir/usr link=static,shared install + + # copy license + install -Dm644 $srcdir/$pkgname-$pkgver/LICENSE \ + $pkgdir/usr/share/licenses/$pkgname/LICENSE +} diff --git a/pcr/luabind/luabind_boost.patch b/pcr/luabind/luabind_boost.patch new file mode 100644 index 000000000..92e32828a --- /dev/null +++ b/pcr/luabind/luabind_boost.patch @@ -0,0 +1,59 @@ +diff --git luabind-0.9.1/luabind/detail/call_function.hpp luabind-0.9.1-fixed/luabind/detail/call_function.hpp +index 1b45ec1..8f5afff 100644 +--- luabind-0.9.1/luabind/detail/call_function.hpp ++++ luabind-0.9.1-fixed/luabind/detail/call_function.hpp +@@ -323,7 +323,8 @@ namespace luabind + + #endif // LUABIND_CALL_FUNCTION_HPP_INCLUDED + +-#elif BOOST_PP_ITERATION_FLAGS() == 1 ++#else ++#if BOOST_PP_ITERATION_FLAGS() == 1 + + #define LUABIND_TUPLE_PARAMS(z, n, data) const A##n * + #define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n +@@ -440,4 +441,5 @@ namespace luabind + + + #endif ++#endif + +diff --git luabind-0.9.1/luabind/detail/call_member.hpp luabind-0.9.1-fixed/luabind/detail/call_member.hpp +index de8d563..e63555b 100644 +--- luabind-0.9.1/luabind/detail/call_member.hpp ++++ luabind-0.9.1-fixed/luabind/detail/call_member.hpp +@@ -316,7 +316,8 @@ namespace luabind + + #endif // LUABIND_CALL_MEMBER_HPP_INCLUDED + +-#elif BOOST_PP_ITERATION_FLAGS() == 1 ++#else ++#if BOOST_PP_ITERATION_FLAGS() == 1 + + #define LUABIND_TUPLE_PARAMS(z, n, data) const A##n * + #define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n +@@ -360,4 +361,5 @@ namespace luabind + #undef LUABIND_TUPLE_PARAMS + + #endif ++#endif + +diff --git luabind-0.9.1/luabind/wrapper_base.hpp luabind-0.9.1-fixed/luabind/wrapper_base.hpp +index d54c668..0f88cc5 100755 +--- luabind-0.9.1/luabind/wrapper_base.hpp ++++ luabind-0.9.1-fixed/luabind/wrapper_base.hpp +@@ -89,7 +89,8 @@ namespace luabind + + #endif // LUABIND_WRAPPER_BASE_HPP_INCLUDED + +-#elif BOOST_PP_ITERATION_FLAGS() == 1 ++#else ++#if BOOST_PP_ITERATION_FLAGS() == 1 + + #define LUABIND_TUPLE_PARAMS(z, n, data) const A##n * + #define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n +@@ -188,3 +189,4 @@ namespace luabind + #undef N + + #endif ++#endif -- cgit v1.2.3