From 9aa30f297ad0cb6dbc9c9b2f1bcc1c89ff0a5db6 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 1 Sep 2012 19:45:05 -0500 Subject: ocaml, lablgtk2 gtkspell stgksourceview2: added/compiled for unison --- abs/extra/gtksourceview2/PKGBUILD | 28 ++++++++++++++++++++++++++++ abs/extra/gtkspell/PKGBUILD | 16 ++++++++++------ abs/extra/lablgtk2/PKGBUILD | 30 ++++++++++++++++++++++++++++++ abs/extra/ocaml/PKGBUILD | 2 +- 4 files changed, 69 insertions(+), 7 deletions(-) create mode 100644 abs/extra/gtksourceview2/PKGBUILD create mode 100644 abs/extra/lablgtk2/PKGBUILD diff --git a/abs/extra/gtksourceview2/PKGBUILD b/abs/extra/gtksourceview2/PKGBUILD new file mode 100644 index 0000000..78e6de7 --- /dev/null +++ b/abs/extra/gtksourceview2/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 148778 2012-02-05 11:50:06Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=gtksourceview2 +pkgver=2.10.5 +pkgrel=2 +pkgdesc="A text widget adding syntax highlighting and more to GNOME" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtk2>=2.22.0' 'libxml2>=2.7.7') +makedepends=('intltool' 'pkg-config') +options=('!libtool') +url="http://www.gnome.org" +source=(http://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.10/gtksourceview-${pkgver}.tar.bz2) +sha256sums=('c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e') + +build() { + cd "${srcdir}/gtksourceview-${pkgver}" + sed -i 's#python#python2#' gtksourceview/language-specs/convert.py + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package() { + cd "${srcdir}/gtksourceview-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/abs/extra/gtkspell/PKGBUILD b/abs/extra/gtkspell/PKGBUILD index 896ed0c..5dc2fef 100644 --- a/abs/extra/gtkspell/PKGBUILD +++ b/abs/extra/gtkspell/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 58469 2009-11-08 16:09:11Z jgc $ +# $Id: PKGBUILD 150411 2012-02-17 12:37:06Z allan $ # Maintainer: Roman Kyrylych # Contributer: Ben pkgname=gtkspell pkgver=2.0.16 -pkgrel=1 +pkgrel=2 url="http://gtkspell.sourceforge.net/" pkgdesc="GtkSpell provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget" arch=('i686' 'x86_64') license=('GPL') -depends=('gtk2>=2.18.3' 'enchant>=1.5.0') +depends=('gtk2' 'enchant') makedepends=('intltool' 'gtk-doc') options=('!libtool') source=(http://gtkspell.sourceforge.net/download/${pkgname}-${pkgver}.tar.gz) @@ -17,7 +17,11 @@ md5sums=('f75dcc9338f182c571b321d37c606a94') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/abs/extra/lablgtk2/PKGBUILD b/abs/extra/lablgtk2/PKGBUILD new file mode 100644 index 0000000..c60fc2e --- /dev/null +++ b/abs/extra/lablgtk2/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 148806 2012-02-05 11:51:19Z ibiru $ +#Maintainer: Tobias Powalowski + +pkgname=lablgtk2 +pkgver=2.14.2 +pkgrel=5 +pkgdesc=" An Objective Caml interface to gtk2" +arch=(i686 x86_64) +license=('LGPL') +url="http://lablgtk.forge.ocamlcore.org/" +depends=('gtk2' 'gtkspell' 'libgnomecanvas' 'librsvg' 'libgnomeui' 'gtksourceview2') +makedepends=('ocaml') +optdepends=('ocaml: for using the tools') +DLAGENTS=('https::/usr/bin/curl -fLC - --insecure --retry 3 --retry-delay 3 -o %o %u') +source=(https://forge.ocamlcore.org/frs/download.php/561/lablgtk-${pkgver}.tar.gz) +options=(!makeflags) +md5sums=('bad77680a72dab8b915cae99d1ec9b1f') + +build() { + cd "${srcdir}/lablgtk-${pkgver}" + ./configure --prefix=/usr + make world + make opt +} + +package() { + cd "${srcdir}/lablgtk-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m644 META "${pkgdir}/usr/lib/ocaml/lablgtk2/" +} diff --git a/abs/extra/ocaml/PKGBUILD b/abs/extra/ocaml/PKGBUILD index 7ba798b..e7ad5ec 100644 --- a/abs/extra/ocaml/PKGBUILD +++ b/abs/extra/ocaml/PKGBUILD @@ -13,7 +13,6 @@ depends=('gdbm') makedepends=('tk' 'ncurses>=5.6-7' 'libx11') optdepends=('ncurses: advanced ncurses features' 'tk: advanced tk features') source=(http://caml.inria.fr/distrib/ocaml-3.12/${pkgname}-${pkgver}.tar.gz) -md5sums=('814a047085f0f901ab7d8e3a4b7a9e65') options=('!makeflags' '!emptydirs') build() { @@ -55,3 +54,4 @@ optdepends=() install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" } +md5sums=('814a047085f0f901ab7d8e3a4b7a9e65') -- cgit v0.12