diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-02 03:29:07 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-02 03:29:07 +0000 |
commit | 171120794a952c6e0e75aef6ecdf46cd6d5154c8 (patch) | |
tree | 963098bd54ea43d811307fd081a8d08380723e30 /community | |
parent | 2d8813df5b3f8a63835a228496f998914755d820 (diff) |
Sun Feb 2 03:26:29 UTC 2014
Diffstat (limited to 'community')
-rw-r--r-- | community/bind/PKGBUILD | 8 | ||||
-rw-r--r-- | community/chrony/PKGBUILD | 8 | ||||
-rw-r--r-- | community/gambit-c/PKGBUILD | 33 | ||||
-rw-r--r-- | community/gambit-c/gambit-c.install | 16 | ||||
-rwxr-xr-x | community/geary/PKGBUILD | 6 | ||||
-rw-r--r-- | community/kiwi/PKGBUILD | 4 | ||||
-rw-r--r-- | community/mpv/PKGBUILD | 8 | ||||
-rw-r--r-- | community/opencolorio/PKGBUILD | 34 | ||||
-rw-r--r-- | community/openimageio/PKGBUILD | 42 | ||||
-rw-r--r-- | community/openimageio/fix32bit-fail.patch | 13 | ||||
-rw-r--r-- | community/openshadinglanguage/PKGBUILD | 48 | ||||
-rw-r--r-- | community/openshadinglanguage/llvm32.patch | 71 | ||||
-rw-r--r-- | community/openssh-askpass/PKGBUILD | 10 | ||||
-rw-r--r-- | community/opusfile/PKGBUILD | 8 | ||||
-rw-r--r-- | community/pymol/PKGBUILD | 29 | ||||
-rw-r--r-- | community/pymol/pymol.install | 11 | ||||
-rw-r--r-- | community/python2-pmw/LICENSE.txt (renamed from community/python-pmw/LICENSE.txt) | 0 | ||||
-rw-r--r-- | community/python2-pmw/PKGBUILD (renamed from community/python-pmw/PKGBUILD) | 16 | ||||
-rw-r--r-- | community/sage-mathematics/PKGBUILD | 39 |
19 files changed, 123 insertions, 281 deletions
diff --git a/community/bind/PKGBUILD b/community/bind/PKGBUILD index 49e896ab1..210fbc029 100644 --- a/community/bind/PKGBUILD +++ b/community/bind/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 103933 2014-01-13 17:38:54Z seblu $ +# $Id: PKGBUILD 105129 2014-02-01 10:10:45Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Gaetan Bisson <bisson@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> # Contributor: Mario Vazquez <mario_vazq@hotmail.com> pkgname=bind -_pkgver=9.9.4-P2 -pkgver=${_pkgver//-/.} +_pkgver=9.9.5 +pkgver=9.9.5 pkgrel=1 pkgdesc='The ISC BIND nameserver' url='http://www.isc.org/software/bind/' @@ -26,7 +26,7 @@ source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"{,.asc} 'named.logrotate' 'localhost.zone' '127.0.0.zone') -sha1sums=('9471a6df92732da1a879115e0416e23b9369544a' +sha1sums=('f3fe8000628ec57f332aec1ad9587b767208a38f' 'SKIP' '029f89c49550c40ec7a95116b6a33f0e5a041094' 'c5a2bcd9b0f009ae71f3a03fbdbe012196962a11' diff --git a/community/chrony/PKGBUILD b/community/chrony/PKGBUILD index c04c7d4a1..926638dc2 100644 --- a/community/chrony/PKGBUILD +++ b/community/chrony/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 99445 2013-10-29 00:06:24Z thestinger $ +# $Id: PKGBUILD 105122 2014-01-31 23:52:20Z thestinger $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Daniel Micay <danielmicay@gmail.com> # Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> @@ -8,8 +8,8 @@ # Contributor: Elisamuel Resto <ryuji@simplysam.us> pkgname=chrony -pkgver=1.29 -pkgrel=2 +pkgver=1.29.1 +pkgrel=1 pkgdesc='Lightweight NTP client and server' arch=('i686' 'x86_64') url="http://chrony.tuxfamily.org/" @@ -19,7 +19,7 @@ depends=('readline' 'libcap') backup=('etc/chrony.conf') source=(http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz service) -sha256sums=('c685f072ba0663ab026a7f56870ab2c246bd97ca4629dd2e1899617bd16ad39b' +sha256sums=('658c9bb4d8c8d8ec7d0908429aa266e5f8413ba86bd4acbfd2f9669f6065af27' 'bef4305fa7e5828e1a1fd43aa8e631f22f21902f6cdc2d3b5b41a57bd9a175dc') build() { diff --git a/community/gambit-c/PKGBUILD b/community/gambit-c/PKGBUILD new file mode 100644 index 000000000..e4eef8645 --- /dev/null +++ b/community/gambit-c/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 68685 2012-03-31 16:54:07Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Christian Babeux <christian.babeux@0x80.ca> + +_distname=gambc-v4_7_1 +pkgname=gambit-c +pkgver=4.7.1 +pkgrel=2 +pkgdesc='Scheme R5RS interpreter and compiler (via C)' +arch=('x86_64' 'i686') +url='http://dynamo.iro.umontreal.ca/wiki/index.php/Main_Page' +license=('LGPL2.1' 'Apache') +install="$pkgname.install" +source=(http://www.iro.umontreal.ca/~gambit/download/gambit/v4.7/source/${_distname}.tgz) +sha256sums=('6b7d58f1e28169d2c873386a1cf7e321e96d23ffd4b3238b105d66ca6bdd7472') + +build() { + cd "$_distname" + + ./configure --prefix=/usr --docdir=/usr/share/doc/gambit-c \ + --infodir=/usr/share/info --libdir=/usr/lib/gambit-c \ + --enable-gcc-opts --enable-single-host + make +} + +package() { + make -C "$_distname" install DESTDIR="$pkgdir" + # gsc conflicts with the one provided by ghostscript + mv "$pkgdir/usr/bin/gsc" "$pkgdir/usr/bin/gambitc" + ln -sf /usr/bin/gambitc "$pkgdir/usr/bin/gsc-script" +} + +# vim:set ts=2 sw=2 et: diff --git a/community/gambit-c/gambit-c.install b/community/gambit-c/gambit-c.install new file mode 100644 index 000000000..ed08d59db --- /dev/null +++ b/community/gambit-c/gambit-c.install @@ -0,0 +1,16 @@ +_infodir=/usr/share/info +_iinfoargs="$_infodir/gambit-c.info.gz $_infodir/dir" + +post_install() { + install-info ${_iinfoargs} +} + +post_upgrade() { + post_install $@ +} + +pre_remove() { + install-info --delete ${_iinfoargs} +} + +# vim:set ts=2 sw=2 et: diff --git a/community/geary/PKGBUILD b/community/geary/PKGBUILD index 707aa6905..adb83f731 100755 --- a/community/geary/PKGBUILD +++ b/community/geary/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 102595 2013-12-16 08:40:54Z alucryd $ +# $Id: PKGBUILD 105142 2014-02-01 15:05:47Z alucryd $ # Maintainer: Maxime Gauduin <alucryd at gmail dot com> # Contributor : sebikul <sebikul@gmail.com> # Contributor : Massimiliano Torromeo <massimiliano.torromeo@gmail.com> pkgname=geary -pkgver=0.5.0 +pkgver=0.5.1 pkgrel=1 pkgdesc='A lightweight email client for the GNOME desktop' arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ depends=('desktop-file-utils' 'gmime' 'libcanberra' 'libgee' 'libnotify' 'webkit makedepends=('cmake' 'gobject-introspection' 'intltool' 'vala') install="${pkgname}.install" source=("https://download.gnome.org/sources/${pkgname}/${pkgver%.?}/${pkgname}-${pkgver}.tar.xz") -sha256sums=('7f3f442b2b7349e339b380de474d94e9a8ad625d16277277ea500747c3b7a5af') +sha256sums=('12561187c7d2b8aa1115ca52d8959270ff38dd6db774df1cd39c9719a76bb1d1') build() { cd ${pkgname}-${pkgver} diff --git a/community/kiwi/PKGBUILD b/community/kiwi/PKGBUILD index b532a6e6c..e9e3a493d 100644 --- a/community/kiwi/PKGBUILD +++ b/community/kiwi/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 85550 2013-03-03 03:09:38Z cinelli $ +# $Id: PKGBUILD 105127 2014-02-01 09:34:22Z lfleischer $ # Maintainer: Federico Cinelli <cinelli@aur.archlinux.org> # Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org> # Contributor: William Rea <sillywilly@gmail.com> pkgname=kiwi pkgver=1.9.29 -pkgrel=2 +pkgrel=3 pkgdesc="A set of classes and wrappers for PyGTK" arch=('i686' 'x86_64') url="http://www.async.com.br/projects/kiwi" diff --git a/community/mpv/PKGBUILD b/community/mpv/PKGBUILD index 6cf602e3f..9a47e7bf2 100644 --- a/community/mpv/PKGBUILD +++ b/community/mpv/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 104371 2014-01-19 16:29:35Z bpiotrowski $ +# $Id: PKGBUILD 105136 2014-02-01 12:59:23Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Eivind Uggedal <eivind@uggedal.com> pkgname=mpv -pkgver=0.3.3 -pkgrel=2 +pkgver=0.3.4 +pkgrel=1 pkgdesc='Video player based on MPlayer/mplayer2' arch=('i686' 'x86_64') license=('GPL') @@ -18,7 +18,7 @@ makedepends=('mesa' 'python-docutils' 'waf') options=('!emptydirs' '!buildflags') install=mpv.install source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz) -md5sums=('bdf40570d1fc025058f9f2aabb91899f') +md5sums=('274bf45367df99774512cf43659004d5') build() { cd $pkgname-$pkgver diff --git a/community/opencolorio/PKGBUILD b/community/opencolorio/PKGBUILD deleted file mode 100644 index 4c3b01a98..000000000 --- a/community/opencolorio/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> -# Contributor: Dumitru Ursu <dima@ceata.org> - -pkgname=opencolorio -pkgver=1.0.9 -pkgrel=1 -pkgdesc="A color management framework for visual effects and animation" -arch=('i686' 'x86_64') -url="http://opencolorio.org" -license=('BSD') -depends=('python') -makedepends=('cmake') -source=(http://github.com/imageworks/OpenColorIO/tarball/v$pkgver) -sha1sums=('a015cb51b9b0ea0cdb3989fc23e1c18ad69511e0') - -build() -{ - mv imageworks-OpenColorIO-* $pkgname-$pkgver - cd $pkgname-$pkgver - - cmake -DCMAKE_INSTALL_PREFIX=/usr . - make -} - -package() -{ - cd "$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: diff --git a/community/openimageio/PKGBUILD b/community/openimageio/PKGBUILD deleted file mode 100644 index 5acccb045..000000000 --- a/community/openimageio/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# $Id: PKGBUILD 103941 2014-01-13 19:39:24Z svenstaro $ -# Contributor: SpepS <dreamspepser at yahoo dot it> -# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> - -pkgname=openimageio -pkgver=1.3.11 -pkgrel=1 -pkgdesc="A library for reading and writing images, including classes, utilities, and applications" -arch=(i686 x86_64) -url="http://www.openimageio.org/" -license=('custom') -depends=('openexr' 'boost-libs' 'jasper' 'glew' 'libtiff' 'opencolorio' 'intel-tbb') -makedepends=('cmake' 'qt4' 'python2' 'boost' 'mesa') -optdepends=('qt4: iv image viewer' - 'python2: bindings support') -source=(https://github.com/OpenImageIO/oiio/archive/Release-${pkgver}.tar.gz) -md5sums=('a1b6b4cbc863fa49259d0f32da4288d7') - -build() { - cd oiio-Release-$pkgver - - [[ -d build ]] && rm -r build - mkdir build && cd build - - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DPYLIB_INSTALL_DIR=lib/python2.7/site-packages \ - -DUSE_EXTERNAL_TBB=ON \ - -DOIIO_BUILD_TESTS=OFF \ - .. - make -} - -package() { - cd oiio-Release-$pkgver/build - - make DESTDIR="$pkgdir" install - - # license - cd .. - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} diff --git a/community/openimageio/fix32bit-fail.patch b/community/openimageio/fix32bit-fail.patch deleted file mode 100644 index 5d9bbbe36..000000000 --- a/community/openimageio/fix32bit-fail.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- orig/src/libutil/SHA1.cpp 2012-11-17 01:02:42.000000000 +0200 -+++ fixed/src/libutil/SHA1.cpp 2012-12-14 14:37:37.552042793 +0200 -@@ -8,9 +8,9 @@ - - // If compiling with MFC, you might want to add #include "StdAfx.h" - -+#include "SHA1.h" - #include "hash.h" - #include "dassert.h" --#include "SHA1.h" - - #ifdef SHA1_UTILITY_FUNCTIONS - #define SHA1_MAX_FILE_BUFFER 8000 diff --git a/community/openshadinglanguage/PKGBUILD b/community/openshadinglanguage/PKGBUILD deleted file mode 100644 index 7029bfc7e..000000000 --- a/community/openshadinglanguage/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# $Id: PKGBUILD 103863 2014-01-12 20:24:24Z foutrelis $ -# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> -pkgname=openshadinglanguage -pkgver=1.5.4dev -pkgrel=1 -pkgdesc="Advanced shading language for production GI renderers" -arch=(i686 x86_64) -url="https://github.com/imageworks/OpenShadingLanguage" -license=('custom') -depends=('boost-libs' 'openimageio' 'openexr' 'intel-tbb' 'freetype2' 'libpng' 'libtiff' 'llvm') -makedepends=('boost' 'cmake' 'clang') -source=(https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz - https://github.com/imageworks/OpenShadingLanguage/pull/320.patch) -md5sums=('4dda1fb2919d3440344d36ecbdf13d47' - '590137809ea344b41b1ad1e0fc81738c') - -build() { - cd OpenShadingLanguage-Release-$pkgver - - # LLVM 3.4 build fix - patch -Np1 < $srcdir/320.patch - - cd src - - [[ -d build ]] && rm -r build - mkdir build && cd build - - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLLVM_STATIC=0 \ - ../.. - make -} - -package() { - cd OpenShadingLanguage-Release-$pkgver/src/build - - make DESTDIR="$pkgdir/" install - - mkdir -p "$pkgdir"/usr/share/OSL/ - mkdir -p "$pkgdir"/usr/share/licenses/$pkgname - mv "$pkgdir"/usr/LICENSE "$pkgdir"/usr/share/licenses/$pkgname # TODO: Tell upstream about this shit - mv "$pkgdir"/usr/{CHANGES,README.md,INSTALL} "$pkgdir"/usr/share/OSL/ - mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/OSL/doc - mv "$pkgdir"/usr/shaders "$pkgdir"/usr/share/OSL/shaders -} - -# vim:set ts=2 sw=2 et: diff --git a/community/openshadinglanguage/llvm32.patch b/community/openshadinglanguage/llvm32.patch deleted file mode 100644 index 5eb63bcf3..000000000 --- a/community/openshadinglanguage/llvm32.patch +++ /dev/null @@ -1,71 +0,0 @@ -commit c391ceb1936459b70147d6f8ac389ded26a7e028 -Author: Sven-Hendrik Haase <sh@lutzhaase.com> -Date: Fri Dec 28 09:00:33 2012 +0100 - - Fix for LLVM 3.2 - -diff --git a/src/liboslexec/llvm_headers.h b/src/liboslexec/llvm_headers.h -index 41a7a11..5ff4384 100644 ---- a/src/liboslexec/llvm_headers.h -+++ b/src/liboslexec/llvm_headers.h -@@ -45,10 +45,18 @@ namespace llvm = LLVM_NAMESPACE; - #include <llvm/LLVMContext.h> - #include <llvm/Module.h> - #include <llvm/PassManager.h> -+#if OSL_LLVM_VERSION >= 32 -+#include <llvm/IRBuilder.h> -+#else - #include <llvm/Support/IRBuilder.h> -+#endif - #include <llvm/Support/ManagedStatic.h> - #include <llvm/Support/MemoryBuffer.h> - #include <llvm/Support/raw_ostream.h> -+#if OSL_LLVM_VERSION >= 32 -+#include <llvm/DataLayout.h> -+#else - #include <llvm/Target/TargetData.h> -+#endif - - #endif /* OSL_LLVM_HEADERS_H */ -diff --git a/src/liboslexec/llvm_instance.cpp b/src/liboslexec/llvm_instance.cpp -index 8709c8b..3e42557 100644 ---- a/src/liboslexec/llvm_instance.cpp -+++ b/src/liboslexec/llvm_instance.cpp -@@ -1273,13 +1273,21 @@ RuntimeOptimizer::llvm_setup_optimization_passes () - // - m_llvm_func_passes = new llvm::FunctionPassManager(llvm_module()); - llvm::FunctionPassManager &fpm (*m_llvm_func_passes); -+#if OSL_LLVM_VERSION >= 32 -+ fpm.add (new llvm::DataLayout(llvm_module())); -+#else - fpm.add (new llvm::TargetData(llvm_module())); -+#endif - - // Specify module-wide (interprocedural optimization) passes - // - m_llvm_passes = new llvm::PassManager; - llvm::PassManager &passes (*m_llvm_passes); -+#if OSL_LLVM_VERSION >= 32 -+ passes.add (new llvm::DataLayout(llvm_module())); -+#else - passes.add (new llvm::TargetData(llvm_module())); -+#endif - - if (shadingsys().llvm_optimize() >= 1 && shadingsys().llvm_optimize() <= 3) { - // For LLVM 3.0 and higher, llvm_optimize 1-3 means to use the -diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp -index 135da2e..4e0eefe 100644 ---- a/src/liboslexec/llvm_util.cpp -+++ b/src/liboslexec/llvm_util.cpp -@@ -42,7 +42,11 @@ namespace pvt { - llvm::Type * - RuntimeOptimizer::llvm_type_union(const std::vector<llvm::Type *> &types) - { -+#if OSL_LLVM_VERSION >= 32 -+ llvm::DataLayout target(llvm_module()); -+#else - llvm::TargetData target(llvm_module()); -+#endif - size_t max_size = 0; - size_t max_align = 1; - for (size_t i = 0; i < types.size(); ++i) { diff --git a/community/openssh-askpass/PKGBUILD b/community/openssh-askpass/PKGBUILD index feae299a7..2a6124ade 100644 --- a/community/openssh-askpass/PKGBUILD +++ b/community/openssh-askpass/PKGBUILD @@ -3,17 +3,17 @@ # Contributor: Massimiliano Torromeo <Massimiliano.Torromeo AT gmail DOT com> pkgname=openssh-askpass -pkgver=2.0.0 -pkgrel=2 +pkgver=2.0.1 +pkgrel=1 pkgdesc='A plasma-like passphrase dialog for ssh' arch=('i686' 'x86_64') -url='http://www.phenix.bnl.gov/WWW/publish/hpereira/software/index.php?page=package&package_list=software_list_qt4&package=openssh-askpass&full=1' +url='http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=openssh-askpass&full=0' license=('GPL') depends=('openssh' 'qt4') makedepends=('cmake') provides=('x11-ssh-askpass') conflicts=('x11-ssh-askpass') -source=("http://www.phenix.bnl.gov/WWW/publish/hpereira/software/tgz/$pkgname-$pkgver.tar.gz" +source=("http://hugo.pereira.free.fr/software/tgz/$pkgname-$pkgver.tar.gz" "$pkgname.sh") build() { @@ -32,5 +32,5 @@ package() { install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/etc/profile.d/$pkgname.sh" } -md5sums=('99b31e5bc2c12f91cc88869661ad92be' +md5sums=('c196971941ff3773d9f977b52015b214' 'baec3f0499b851aca6705968fa9e0df7') diff --git a/community/opusfile/PKGBUILD b/community/opusfile/PKGBUILD index c61e4d72c..59c65dd42 100644 --- a/community/opusfile/PKGBUILD +++ b/community/opusfile/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 102291 2013-12-07 11:02:30Z bpiotrowski $ +# $Id: PKGBUILD 105124 2014-02-01 00:48:22Z eric $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com> pkgname=opusfile -pkgver=0.4 +pkgver=0.5 pkgrel=1 pkgdesc='Library for opening, seeking, and decoding .opus files' arch=('i686' 'x86_64') url='http://www.opus-codec.org/' -license=('custom') +license=('BSD') depends=('libogg' 'openssl' 'opus') source=(http://downloads.xiph.org/releases/opus/${pkgname}-${pkgver}.tar.gz) -md5sums=('80f3d4106106905255ff84def1b5d9ae') +md5sums=('6c96ae240ada27fafff423f96a8814cb') build() { cd $pkgname-$pkgver diff --git a/community/pymol/PKGBUILD b/community/pymol/PKGBUILD index aa1d7a270..d09c49cbc 100644 --- a/community/pymol/PKGBUILD +++ b/community/pymol/PKGBUILD @@ -1,20 +1,25 @@ -# $Id: PKGBUILD 103273 2014-01-02 00:34:19Z arcanis $ +# $Id: PKGBUILD 105152 2014-02-01 20:46:24Z arcanis $ # Maintainer: Evgeniy Alekseev <arcanis dot arch at gmail dot com> # Contributor: graysky # Contributor: Tomasz Żok <tomasz dot zok at gmail dot com> pkgname=pymol -pkgver=1.6.0.0 -pkgrel=3 -pkgdesc="A USER-SPONSORED molecular visualization system on an OPEN-SOURCE foundation" +pkgver=1.7.0.0 +pkgrel=1 +pkgdesc="Molecular visualization system on an Open Source foundation" arch=('i686' 'x86_64') url="http://pymol.org/" license=('custom') -depends=('glut' 'glew' 'mesa' 'python-pmw' 'tcl' 'tcsh' 'tk') -source=("http://downloads.sourceforge.net/project/pymol/pymol/1.6/pymol-v${pkgver}.tar.bz2") -md5sums=('6f5db5beea7497f5a414c8e0cf1ae53d') +depends=('glew' 'glut' 'mesa' 'python2-numpy' 'python2-pmw' 'tcsh') +makedepends=('desktop-file-utils' 'gendesk') +source=("http://downloads.sourceforge.net/project/pymol/pymol/1.7/pymol-v${pkgver}.tar.bz2") +install="${pkgname}.install" +md5sums=('36fc735f6104e59802f109d0d25b6676') prepare() { + # create desktop file + gendesk --pkgname "${pkgname}" --pkgdesc "${pkgdesc}" --name="PyMOL" --categories="Science;Chemistry" + # suppress non-zero exit code that breaks makepkg sed -i '/sys.exit/ s,2,0,' "${srcdir}/pymol/setup.py" # change python to python2 @@ -31,10 +36,12 @@ build() { package() { cd "${srcdir}/${pkgname}" - python2 setup.py install --prefix="usr/" --root="${pkgdir}" - sed -i "s|${pkgdir}||g" pymol - install -D -m755 "pymol" "${pkgdir}/usr/bin/pymol" - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + python2 setup.py install --prefix=/usr --root="${pkgdir}" + sed -i "s|"${pkgdir}"||g" pymol + install -Dm755 "pymol" "${pkgdir}/usr/bin/pymol" + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 "${srcdir}/pymol.desktop" "${pkgdir}/usr/share/applications/pymol.desktop" + install -Dm644 "${srcdir}/pymol.png" "${pkgdir}/usr/share/pixmaps/pymol.png" } # vim:set ts=2 sw=2 et: diff --git a/community/pymol/pymol.install b/community/pymol/pymol.install new file mode 100644 index 000000000..e111ef946 --- /dev/null +++ b/community/pymol/pymol.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/python-pmw/LICENSE.txt b/community/python2-pmw/LICENSE.txt index de9a58260..de9a58260 100644 --- a/community/python-pmw/LICENSE.txt +++ b/community/python2-pmw/LICENSE.txt diff --git a/community/python-pmw/PKGBUILD b/community/python2-pmw/PKGBUILD index 1e19d7f2b..739d1cfd3 100644 --- a/community/python-pmw/PKGBUILD +++ b/community/python2-pmw/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 103272 2014-01-02 00:34:07Z arcanis $ -# Maintainer: Evgeniy Alekseev <arcanis dot arch at gmail dot com> -# Contributor: kfgz <kfgz at interia pl> +# $Id: PKGBUILD 105149 2014-02-01 19:59:28Z arcanis $ +# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com> +# Contributor: kfgz <kfgz at interia dot pl> # Contributor: Michael Krauss <hippodriver at gmx dot net> # Contributor: dsa -pkgname=python-pmw +pkgname=python2-pmw pkgver=1.3.3b -pkgrel=3 +pkgrel=1 pkgdesc="A toolkit for high-level compound widgets in Python using the Tkinter module" arch=('i686' 'x86_64') url="http://pmw.sourceforge.net/doc/index.html" @@ -25,9 +25,13 @@ prepare() { sed -i "s|python|python2|g" "${srcdir}/Pmw/Pmw/Pmw_1_3_3/bin/bundlepmw.py" } -package() { +build() { cd "Pmw" python2 setup.py build +} + +package() { + cd "Pmw" python2 setup.py install --prefix=/usr --root="${pkgdir}" install -D -m644 "${srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/community/sage-mathematics/PKGBUILD b/community/sage-mathematics/PKGBUILD index 1a6718f5c..573840fd4 100644 --- a/community/sage-mathematics/PKGBUILD +++ b/community/sage-mathematics/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 102937 2013-12-24 15:23:39Z arcanis $ +# $Id: PKGBUILD 105155 2014-02-01 21:30:09Z arcanis $ # Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com> # Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> # Contributor: Antonio Rojas <nqn1976 at gmail dot com> @@ -8,8 +8,8 @@ # Special thanks to Nareto for moving the compile from the .install to the PKGBUILD pkgname=sage-mathematics -pkgver=6.0 -pkgrel=2 +pkgver=6.1 +pkgrel=1 pkgdesc="SAGE: Open Source Mathematics Software, a viable free alternative to Magma, Maple, Mathematica, and Matlab" arch=('i686' 'x86_64') url="http://www.sagemath.org" @@ -26,7 +26,7 @@ source=("http://sage.math.washington.edu/home/release/sage-${pkgver}/sage-${pkgv "fix-pil.patch" "sage.service") install="${pkgname}.install" -md5sums=('da1bacf90fc291e736aaa71431e8874e' +md5sums=('75130374fcdb9395955db81f1ed28422' 'de54cb818d74c070a524fc3fd5208b2c' '985da1c1d1dcdc3ea9aa73035cb7996b') @@ -51,21 +51,6 @@ X-KDE-Username=" mkdir "${srcdir}/build" # according to FS#34769 - # NOTE: there is an error in pil build (freetype/fterrors.h not found) - cd "${srcdir}/sage-${pkgver}/upstream/" - tar xjfv pil-1.1.6.tar.bz2 - rm -r pil-1.1.6.tar.bz2 - patch -p0 -i "${srcdir}/fix-pil.patch" - tar cjvf pil-1.1.6.tar.bz2 pil-1.1.6 - rm -rf pil-1.1.6 - # fix checksums - SUMS=$(md5sum pil-1.1.6.tar.bz2 | awk '{print $1}') - sed "s/md5=[0-9a-f]\{32\}/md5=${SUMS}/" -i "${srcdir}/sage-${pkgver}/build/pkgs/pil/checksums.ini" - SUMS=$(sha1sum pil-1.1.6.tar.bz2 | awk '{print $1}') - sed "s/sha1=[0-9a-f]\{40\}/sha1=${SUMS}/" -i "${srcdir}/sage-${pkgver}/build/pkgs/pil/checksums.ini" - SUMS=$(cksum pil-1.1.6.tar.bz2 | awk '{print $1}') - sed "s/cksum=[0-9a-f]\{10\}/cksum=${SUMS}/" -i "${srcdir}/sage-${pkgver}/build/pkgs/pil/checksums.ini" - # disable freetype build rm -rf freetype-* sed -i -e 's/FREETYPE/#FREETYPE/' "${srcdir}/sage-${pkgver}/build/install" } @@ -100,7 +85,6 @@ build() { # only build sage, no documents #make build make - ./sage --bdist "${pkgver}" } << COMMENT @@ -115,24 +99,19 @@ check() { COMMENT package() { - cd "sage-${pkgver}" + cd "${srcdir}/sage-${pkgver}/" + # remove build logs + rm -f *.log + rm -rf spkg/{base,build,logs,standarts} # cp because make install is experimental and will corrupt the install install -d "${pkgdir}/opt/sage" - cp -dpr --no-preserve=ownership dist/sage-"${pkgver}-$CARCH-Linux/"* "${pkgdir}/opt/sage/" + cp -r * "${pkgdir}/opt/sage/" # move SageTeX files to more appropriate directory install -d "${pkgdir}/usr/share" mv "${pkgdir}/opt/sage/local/share/texmf" "${pkgdir}/usr/share" - # remove build logs - rm -f "${pkgdir}/opt/sage/*.log" - rm -rf "${pkgdir}/opt/sage/spkg/logs" - - # remove source packages, since they are rarely needed, they are 300mb in size (compressed) - rm -f "${pkgdir}/opt/sage/spkg/base/*spkg" - rm -f "${pkgdir}/opt/sage/spkg/standard/*spkg" - # according to FS#37090 # install scripts install -d "${pkgdir}/usr/bin" |