diff options
author | root <root@rshg047.dnsready.net> | 2011-07-04 23:11:10 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-04 23:11:10 +0000 |
commit | 9d2caacbc33de06407311a5da87e5d22e0266435 (patch) | |
tree | c0eb320a79d1e1943d2531e3fe3c1422367cb48d | |
parent | 067b127a853780b2b4ae7236dcdaaf72396dfa86 (diff) |
Mon Jul 4 23:11:10 UTC 2011
-rw-r--r-- | community-staging/gdal/PKGBUILD | 64 | ||||
-rw-r--r-- | community-staging/gdal/gdal-1.5.1-python-install.patch | 10 | ||||
-rw-r--r-- | community-staging/gdal/gdal.changelog | 11 | ||||
-rw-r--r-- | community-staging/openscenegraph/PKGBUILD | 35 | ||||
-rw-r--r-- | community-staging/postgis/PKGBUILD | 29 | ||||
-rw-r--r-- | community-staging/postgis/postgis.changelog | 5 | ||||
-rw-r--r-- | community/darktable/PKGBUILD | 21 | ||||
-rw-r--r-- | community/john/PKGBUILD | 10 | ||||
-rw-r--r-- | community/roxterm/PKGBUILD | 8 | ||||
-rw-r--r-- | community/synergy/PKGBUILD | 10 | ||||
-rw-r--r-- | extra/gnome-themes-standard/PKGBUILD | 6 | ||||
-rw-r--r-- | extra/mercurial/PKGBUILD | 24 | ||||
-rw-r--r-- | libre/kernel26-libre/PKGBUILD | 10 | ||||
-rw-r--r-- | social/tinc/PKGBUILD | 2 | ||||
-rw-r--r-- | ~fauno/notmuch/PKGBUILD | 53 |
15 files changed, 254 insertions, 44 deletions
diff --git a/community-staging/gdal/PKGBUILD b/community-staging/gdal/PKGBUILD new file mode 100644 index 000000000..88756643b --- /dev/null +++ b/community-staging/gdal/PKGBUILD @@ -0,0 +1,64 @@ +# $Id: PKGBUILD 50951 2011-07-03 10:32:28Z jelle $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=gdal +pkgver=1.8.0 +pkgrel=5 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/" +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libtiff' 'netcdf' 'python2' 'python2-numpy' 'cfitsio' 'sqlite3' 'libmysqlclient' 'postgresql-libs') +makedepends=('perl' 'swig') +optdepends=('postgresql: postgresql database support' + 'mysql: mysql database support' + 'perl: perl binding support' + 'swig: perl binding support') +options=('!libtool' '!makeflags') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgname}-${pkgver}.tar.gz \ + gdal-1.5.1-python-install.patch) + +md5sums=('c762cdab0f7e51a677ba49278a8a263d' '81afc1c26d29cee84aadb6924fe33861') + + +build() { + export CFLAGS="$CFLAGS -fno-strict-aliasing" + + # bug 23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + cd ${srcdir}/$pkgname-$pkgver + patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --without-libtool --with-curl \ + --with-hdf5 --with-perl --with-geos --with-png + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + install -d ${pkgdir}/usr/lib/python2.7/site-packages/ + + make +} + +package () { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install + +# install license + install -D -m644 LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + +#FS15477 clean up junks + rm -f ${pkgdir}/usr/bin/*.dox +} diff --git a/community-staging/gdal/gdal-1.5.1-python-install.patch b/community-staging/gdal/gdal-1.5.1-python-install.patch new file mode 100644 index 000000000..8ec414d37 --- /dev/null +++ b/community-staging/gdal/gdal-1.5.1-python-install.patch @@ -0,0 +1,10 @@ +--- swig/python/GNUmakefile.orig 2010-04-24 01:22:07.000000000 +0200 ++++ swig/python/GNUmakefile 2010-05-05 19:14:58.000000000 +0200 +@@ -72,5 +72,5 @@ + ifeq ($(PY_HAVE_SETUPTOOLS),1) +- $(PYTHON) setup.py install ++ $(PYTHON) setup.py install --root=$(DESTDIR) + else +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) + endif diff --git a/community-staging/gdal/gdal.changelog b/community-staging/gdal/gdal.changelog new file mode 100644 index 000000000..c31121e1d --- /dev/null +++ b/community-staging/gdal/gdal.changelog @@ -0,0 +1,11 @@ +2011-02-19 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * gdal 1.8.0-1 + +2010-11-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 1.7.3 + +2010-06-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * FS#19946 fixed in 1.7.2-2 + +2010-05-05 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 1.7.2 diff --git a/community-staging/openscenegraph/PKGBUILD b/community-staging/openscenegraph/PKGBUILD new file mode 100644 index 000000000..d405bd160 --- /dev/null +++ b/community-staging/openscenegraph/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 50969 2011-07-03 18:11:27Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Hans Janssen <janserv@gmail.com> +# Contributor: my64 <packages@obordes.com> +# Contributor: Colin Pitrat <colin.pitrat@gmail.com> + +pkgname=openscenegraph +pkgver=3.0.0 +pkgrel=1 +pkgdesc="An Open Source, high performance real-time graphics toolkit" +arch=('i686' 'x86_64') +license=('custom:OSGPL') +url="http://www.openscenegraph.org" +depends=('giflib' 'jasper' 'librsvg' 'xine-lib' 'curl' 'pth') +makedepends=('cmake' 'libvncserver') +optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib') +conflicts=('openthreads') +provides=('openthreads') +#source=(http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-$pkgver/source/OpenSceneGraph-$pkgver.zip) +source=("http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-3.0/source/OpenSceneGraph-$pkgver.zip") +md5sums=('121829b854349a9e9d1aebc25cf3e52d') + +build() { + cd OpenSceneGraph-$pkgver + [ $NOEXTRACT -eq 1 ] || cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release + sed -i 's|#include <curl/types.h>|//#include <curl/types.h>|' src/osgPlugins/curl/ReaderWriterCURL.cpp + make +} + +package() { + cd OpenSceneGraph-$pkgver + make DESTDIR="$pkgdir" install + install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + [ -d "$pkgdir/usr/lib64" ] && mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib" || true +} diff --git a/community-staging/postgis/PKGBUILD b/community-staging/postgis/PKGBUILD new file mode 100644 index 000000000..0e5b5ca4c --- /dev/null +++ b/community-staging/postgis/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 50943 2011-07-03 10:15:49Z jelle $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=postgis +pkgver=1.5.2 +pkgrel=2 +pkgdesc="Adds support for geographic objects to PostgreSQL" +arch=('i686' 'x86_64') +url="http://postgis.refractions.net/" +license=('GPL') +depends=('postgresql' 'proj' 'geos') +changelog=$pkgname.changelog +source=(http://postgis.refractions.net/download/$pkgname-$pkgver.tar.gz) +md5sums=('772ec1d0f04d6800cd7e2420a97a7483') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install +} diff --git a/community-staging/postgis/postgis.changelog b/community-staging/postgis/postgis.changelog new file mode 100644 index 000000000..86c0b336b --- /dev/null +++ b/community-staging/postgis/postgis.changelog @@ -0,0 +1,5 @@ +2010-10-30 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 1.5.2 + +2010-03-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 1.5.1 diff --git a/community/darktable/PKGBUILD b/community/darktable/PKGBUILD index 02737052e..aabee5e30 100644 --- a/community/darktable/PKGBUILD +++ b/community/darktable/PKGBUILD @@ -1,28 +1,27 @@ -# $Id: PKGBUILD 44530 2011-04-08 06:00:34Z spupykin $ +# $Id: PKGBUILD 50957 2011-07-03 16:56:44Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Christian Himpel <chressie at gmail dot com> # Contributor: Johannes Hanika <hanatos at gmail dot com> pkgname=darktable -pkgver=0.8 -pkgrel=3 +pkgver=0.9 +pkgrel=1 pkgdesc="Utility to organize and develop raw images" arch=('i686' 'x86_64') url=http://darktable.sf.net/ license=('GPL3') depends=('exiv2>=0.18' 'gconf>=2.26' 'intltool>=0.40' 'lcms2' 'lensfun>=0.2.3' 'libglade' 'curl' 'libgnome-keyring' 'libgphoto2' 'libusb-compat' 'openexr') -makedepends=('intltool>=0.40') +makedepends=('intltool>=0.40' 'cmake' 'sqlite3') optdepends=( 'librsvg') install=darktable.install options=(!libtool) -source=(http://downloads.sourceforge.net/project/darktable/darktable/0.8/darktable-$pkgver.tar.gz) -md5sums=('1724601b0d7012a414f5398e5029cb45') +source=(http://downloads.sourceforge.net/project/darktable/darktable/$pkgver/darktable-$pkgver.tar.gz) +md5sums=('02397e09464a9084403270607133b5b5') build() { cd $srcdir/$pkgname-$pkgver - - mkdir build || true + mkdir -p build cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -31,10 +30,12 @@ build() { -DDONT_INSTALL_GCONF_SCHEMAS=True \ -DBINARY_PACKAGE_BUILD=1 \ .. - make - make DESTDIR=$pkgdir install +} +package() { + cd $srcdir/$pkgname-$pkgver/build + make DESTDIR=$pkgdir install mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}" mkdir -p "${pkgdir}/usr/share/gconf/schemas/" mv "${pkgdir}/etc/gconf/schemas/darktable.schemas" "${pkgdir}/usr/share/gconf/schemas/" diff --git a/community/john/PKGBUILD b/community/john/PKGBUILD index 8830aa59b..9be4ef135 100644 --- a/community/john/PKGBUILD +++ b/community/john/PKGBUILD @@ -5,9 +5,9 @@ # Contributor: Michal Krenek <mikos@sg1.cz> pkgname=john -pkgver=1.7.7 -pkgrel=3 -_jumbover=6 +pkgver=1.7.8 +pkgrel=1 +_jumbover=2 pkgdesc="John The Ripper - A fast password cracker (jumbo-$_jumbover included)" arch=('i686' 'x86_64') url="http://www.openwall.com/$pkgname/" @@ -18,8 +18,8 @@ source=(http://www.openwall.com/$pkgname/g/$pkgname-$pkgver.tar.bz2 http://www.openwall.com/john/g/john-$pkgver-jumbo-$_jumbover.diff.gz ftp://ftp.kfki.hu/pub/packages/security/ssh/ossh/libdes-4.04b.tar.gz params.h.patch) -md5sums=('be316618de834a58573a21225d4a2674' - 'a9b0ca4d9d48480fc44b1986610d471a' +md5sums=('e6d7f261829610d6949c706ebac0517c' + '445bbcc9049a632c18359cb7a0fdfb27' 'c8d5c69f86c2eedb485583b0305284a1' 'f69ed632eba8fb9e45847a4b4a323787') diff --git a/community/roxterm/PKGBUILD b/community/roxterm/PKGBUILD index 6cad15be5..063e3699e 100644 --- a/community/roxterm/PKGBUILD +++ b/community/roxterm/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 48623 2011-06-03 14:19:38Z ttopper $ +# $Id: PKGBUILD 50924 2011-07-03 09:31:49Z ttopper $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> # Contributor: Alexander Fehr <pizzapunk gmail com> pkgname=roxterm -pkgver=1.22.1 +pkgver=1.22.2 pkgrel=1 pkgdesc="Tabbed, VTE-based terminal emulator" arch=('i686' 'x86_64') @@ -13,8 +13,8 @@ depends=('libglade' 'dbus-glib' 'vte' 'hicolor-icon-theme' 'dbus' 'dbus-core' 'g makedepends=('docbook-xsl' 'xmlto' 'po4a') install=roxterm.install source=(http://downloads.sourceforge.net/roxterm/roxterm-$pkgver.tar.gz) -md5sums=('522067d466545753cb3df369b582ce60') -sha1sums=('40743fa8d93c5ddf76676bb7df4bf0c6f97351ad') +md5sums=('9ff2878ea64bc6c474334b2446ae18a6') +sha1sums=('aed9c6f0d849b612757b9a300e6198d384e66ccb') build() { diff --git a/community/synergy/PKGBUILD b/community/synergy/PKGBUILD index 7d140ded5..7c1948dd3 100644 --- a/community/synergy/PKGBUILD +++ b/community/synergy/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Dale Blount <dale@archlinux.org> pkgname=synergy -pkgver=1.3.6 +pkgver=1.3.7 pkgrel=1 pkgdesc="Share a single mouse and keyboard between multiple computers" url="http://synergy-foss.org" @@ -22,7 +22,7 @@ build() { } package() { - cd "${srcdir}/${pkgname}-${pkgver}-Source" + cd "${srcdir}/${pkgname}-${pkgver}-Source/bin" # make DESTDIR="$pkgdir" install # doesn't work atm @@ -33,8 +33,8 @@ package() { # install rc.d script and config install -d "${pkgdir}/etc/rc.d" - install -Dm644 examples/${pkgname}.conf "${pkgdir}/etc" # true - install -Dm755 $srcdir/${pkgname}s.rc "${pkgdir}/etc/rc.d/${pkgname}s" # true + install -Dm644 $srcdir/$pkgname-$pkgver-Source/doc/${pkgname}.conf.example "${pkgdir}/etc" + install -Dm755 $srcdir/${pkgname}s.rc "${pkgdir}/etc/rc.d/${pkgname}s" } -md5sums=('7a445e97fe01850f60cdf43882d7f385' +md5sums=('27842f45f8ab6923eb702f9cc4858194' '8f8c01add9bf6e3ae9f37a36ca6345b6') diff --git a/extra/gnome-themes-standard/PKGBUILD b/extra/gnome-themes-standard/PKGBUILD index 12b8c7d90..d77d33962 100644 --- a/extra/gnome-themes-standard/PKGBUILD +++ b/extra/gnome-themes-standard/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 124628 2011-05-23 14:48:53Z ibiru $ +# $Id: PKGBUILD 130186 2011-07-03 15:04:21Z ibiru $ # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> pkgname=gnome-themes-standard pkgver=3.0.2 -pkgrel=1 +pkgrel=2 pkgdesc="Default themes for the GNOME desktop" arch=('i686' 'x86_64') url="http://abattis.org/cantarell/" license=('GPL2') -depends=('cantarell-fonts' 'gtk3' 'gtk-engines') +depends=('cantarell-fonts' 'gtk3' 'gtk-engines' 'librsvg') makedepends=('intltool') groups=('gnome') replaces=('gnome-themes') diff --git a/extra/mercurial/PKGBUILD b/extra/mercurial/PKGBUILD index f9800e4ae..89d828938 100644 --- a/extra/mercurial/PKGBUILD +++ b/extra/mercurial/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 126289 2011-06-04 09:29:40Z giovanni $ +# $Id: PKGBUILD 130178 2011-07-03 11:13:45Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Douglas Soares de Andrade <douglas@archlinux.org> pkgname=mercurial -pkgver=1.8.4 +pkgver=1.9 pkgrel=1 pkgdesc="A scalable distributed SCM tool" arch=('i686' 'x86_64') @@ -13,29 +13,29 @@ depends=('python2') optdepends=('tk: for the hgk GUI') source=(http://www.selenic.com/mercurial/release/${pkgname}-${pkgver}.tar.gz mercurial.profile) -md5sums=('b3dcc3de473e003dd1cc0500dcd9de47' +md5sums=('d4842129fa2732eb6ed1180467bc32e2' '43e1d36564d4c7fbe9a091d3ea370a44') build() { cd "${srcdir}/${pkgname}-${pkgver}" - python2 setup.py install --root="${pkgdir}/" --optimize=1 || return 1 + python2 setup.py install --root="${pkgdir}/" --optimize=1 sed -i -e 's#env python#env python2#' \ "${pkgdir}"/usr/lib/python2.7/site-packages/mercurial/lsprof.py install -d ${pkgdir}/usr/share/man/{man1,man5} - install -m644 doc/hg.1 "${pkgdir}/usr/share/man/man1" || return 1 - install -m644 doc/{hgrc.5,hgignore.5} "${pkgdir}/usr/share/man/man5" || return 1 - install -m755 contrib/hgk "${pkgdir}/usr/bin" || return 1 - install -m644 -D contrib/zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_hg" || return 1 - install -m644 -D contrib/bash_completion "${pkgdir}/etc/bash_completion.d/hg" || return 1 + install -m644 doc/hg.1 "${pkgdir}/usr/share/man/man1" + install -m644 doc/{hgrc.5,hgignore.5} "${pkgdir}/usr/share/man/man5" + install -m755 contrib/hgk "${pkgdir}/usr/bin" + install -m644 -D contrib/zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_hg" + install -m644 -D contrib/bash_completion "${pkgdir}/etc/bash_completion.d/hg" install -d "${pkgdir}/usr/share/emacs/site-lisp" - install -m644 contrib/{mq.el,mercurial.el} "${pkgdir}/usr/share/emacs/site-lisp" || return 1 + install -m644 contrib/{mq.el,mercurial.el} "${pkgdir}/usr/share/emacs/site-lisp" vimpath="${pkgdir}/usr/share/vim/vimfiles" - install -Dm644 contrib/vim/HGAnnotate.vim "${vimpath}/syntax/HGAnnotate.vim" || return 1 + install -Dm644 contrib/vim/HGAnnotate.vim "${vimpath}/syntax/HGAnnotate.vim" # set some variables install -m755 -d ${pkgdir}/etc/profile.d - install -m755 ${srcdir}/mercurial.profile "${pkgdir}/etc/profile.d/mercurial.sh" || return 1 + install -m755 ${srcdir}/mercurial.profile "${pkgdir}/etc/profile.d/mercurial.sh" } diff --git a/libre/kernel26-libre/PKGBUILD b/libre/kernel26-libre/PKGBUILD index 15cac233f..4bbc90bea 100644 --- a/libre/kernel26-libre/PKGBUILD +++ b/libre/kernel26-libre/PKGBUILD @@ -9,8 +9,7 @@ _basekernel=2.6.39 pkgver=${_basekernel}.2 pkgrel=1 makedepends=('xmlto' 'docbook-xsl') -#_patchname="patch-${pkgver}-${pkgrel}-LIBRE" -_patchname="patch-2.6.39.1-1-LIBRE" +_patchname="patch-${pkgver}-${pkgrel}-LIBRE" arch=(i686 x86_64) license=('GPL2') url="http://linux-libre.fsfla.org/" @@ -240,10 +239,15 @@ find $pkgdir -type d -exec chmod 755 {} \; # remove a file already in kernel26 package rm -f $pkgdir/usr/src/linux-$_kernver/Documentation/DocBook/Makefile } - md5sums=('4ddca7df15f92537b1914ab115cb4f8b' '252cbddfd9a8bb97181c087fdd5e2377' 'd5c6c675662d98011513f6cbc81d66db' '00e8553b44dac65fc093db60a1cde842' '25584700a0a679542929c4bed31433b6' 'fdfed5e8b46f289617ee6def01978090') +md5sums=('4ddca7df15f92537b1914ab115cb4f8b' + '609210a972ea86260ef395d9b59e3b2f' + 'd5c6c675662d98011513f6cbc81d66db' + '00e8553b44dac65fc093db60a1cde842' + '25584700a0a679542929c4bed31433b6' + 'fdfed5e8b46f289617ee6def01978090') diff --git a/social/tinc/PKGBUILD b/social/tinc/PKGBUILD index a34d3785b..b8f16a57c 100644 --- a/social/tinc/PKGBUILD +++ b/social/tinc/PKGBUILD @@ -27,8 +27,6 @@ package() { install -Dm755 $srcdir/tincd.rcd $pkgdir/etc/rc.d/tincd install -Dm755 $srcdir/tincd.conf $pkgdir/etc/conf.d/tincd - - tar xzvf doc/sample-config.tar.gz -C $pkgdir/etc/tinc/ } md5sums=('44bb7d1618955a0a56e9e159f1c46362' '9b40646cd898709e90ae3c32baecb075' diff --git a/~fauno/notmuch/PKGBUILD b/~fauno/notmuch/PKGBUILD new file mode 100644 index 000000000..e7425dabf --- /dev/null +++ b/~fauno/notmuch/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: fauno <fauno at kiwwwi.com.ar> +# Maintainer: Olivier Ramonat <olivier at ramonat dot fr> +# Maintainer: Richard Murri <admin@richardmurri.com> + +pkgname=notmuch +pkgver=0.6 +pkgrel=1 +pkgdesc="Notmuch is not much of an email program" +arch=(i686 x86_64) +url="http://notmuchmail.org/" +license=('GPL3') +depends=('xapian-core' 'gmime') +makedepends=('talloc' 'python2' 'emacs-nox' 'gnupg') +optdepends=('emacs: for using the emacs interface' + 'vim: for using the vim interface' + 'python2: for using the python bindings' + 'gnupg: for email encryption') +source=("http://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.gz") + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +check() { + cd "$srcdir/${pkgname}-${pkgver}" + make test +} + +package(){ + cd "$srcdir/${pkgname}-${pkgver}" + make DESTDIR="$pkgdir/" LIBDIR_IN_LDCONFIG=0 install + + install -D notmuch $pkgdir/usr/sbin/notmuch + + mkdir -p $pkgdir/usr/share/vim/vimfiles/{plugin,syntax} + + cd vim && make PREFIX="$pkgdir/usr/share/vim/vimfiles" install + + # Install python bindings + + cd "$srcdir/${pkgname}-${pkgver}/bindings/python" + + find "." -name '*.py' -print0 |xargs -0 \ + sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \ + -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,' + ln -s ../../lib/libnotmuch.so.1 libnotmuch.so.1 + env LD_LIBRARY_PATH="." python2 setup.py build + env LD_LIBRARY_PATH="." python2 setup.py install --prefix=/usr --root=$pkgdir +} +md5sums=('be8ce01bb6f84ca66bfc9a76c63276ac') |