diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/blender/PKGBUILD | 8 | ||||
-rw-r--r-- | community/clearsilver/PKGBUILD | 15 | ||||
-rw-r--r-- | community/dmd/PKGBUILD | 14 | ||||
-rw-r--r-- | community/fityk/PKGBUILD | 47 | ||||
-rw-r--r-- | community/fityk/fityk.install | 14 | ||||
-rw-r--r-- | community/ldc/PKGBUILD | 3 | ||||
-rw-r--r-- | community/pam-krb5/PKGBUILD | 8 | ||||
-rw-r--r-- | community/ruby-cairo/PKGBUILD | 27 | ||||
-rw-r--r-- | community/ruby-gtk2/PKGBUILD | 6 | ||||
-rw-r--r-- | community/ruby-ncurses/PKGBUILD | 6 | ||||
-rw-r--r-- | community/sage-mathematics/PKGBUILD | 105 | ||||
-rw-r--r-- | community/sage-mathematics/SAGE-notebook.desktop | 19 | ||||
-rw-r--r-- | community/sage-mathematics/sage-mathematics.install | 56 | ||||
-rw-r--r-- | community/sigil/PKGBUILD | 6 | ||||
-rw-r--r-- | community/stone-soup/PKGBUILD | 14 | ||||
-rw-r--r-- | community/supertuxkart/PKGBUILD | 38 | ||||
-rw-r--r-- | community/xmms2/PKGBUILD | 19 | ||||
-rw-r--r-- | community/xylib/PKGBUILD | 27 |
18 files changed, 92 insertions, 340 deletions
diff --git a/community/blender/PKGBUILD b/community/blender/PKGBUILD index 824e25a61..60a9f9983 100644 --- a/community/blender/PKGBUILD +++ b/community/blender/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 145008 2011-12-14 03:12:03Z eric $ +# $Id: PKGBUILD 64569 2012-02-16 20:09:53Z svenstaro $ # Contributor: John Sowiak <john@archlinux.org> # Contributor: tobias <tobias@archlinux.org> # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> @@ -13,8 +13,8 @@ _svn=false pkgname=blender -pkgver=2.61 -pkgrel=5 +pkgver=2.62 +pkgrel=1 epoch=3 pkgdesc="A fully integrated 3D graphics creation suite" arch=('i686' 'x86_64') @@ -29,7 +29,7 @@ options=(!strip) install=blender.install if [ $_svn = false ]; then source=(http://download.blender.org/source/$pkgname-$pkgver.tar.gz) - md5sums=('11a4721ff92286f678bb2e05e5f29c97') + md5sums=('f2357584a5081b03f6e60ba3efe2a610') else source=(ftp://ftp.archlinux.org/other/${pkgname}/$pkgname-$pkgver.tar.xz) md5sums=('7579d1139d0d6025df8afcfca64a65c4') diff --git a/community/clearsilver/PKGBUILD b/community/clearsilver/PKGBUILD index 0f19cd85c..441d1f08b 100644 --- a/community/clearsilver/PKGBUILD +++ b/community/clearsilver/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 27254 2010-09-18 22:01:47Z schuay $ +# $Id: PKGBUILD 64605 2012-02-17 02:32:25Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer : Aaron Griffin <aaron@archlinux.org> # Contributor: William Rea <sillywilly@gmail.com> pkgname=clearsilver pkgver=0.10.5 -pkgrel=7 +pkgrel=8 pkgdesc="clearsilver is a fast, powerful, and language-neutral HTML template system" arch=('i686' 'x86_64' 'mips64el') url='http://www.clearsilver.net' @@ -23,10 +23,19 @@ build() ./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2 - # we all hate broken makefiles... hooray! sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py sed -i "s@install.rb install@install.rb install --prefix=$pkgdir@g" ruby/Makefile patch -p1 <$srcdir/clearsilver-ruby-1.9.patch + patch -p0 ruby/install.rb <<EOF +71,73c71,73 +< siteruby = subprefix.call(c['sitedir']) +< versite = subprefix.call(c['sitelibdir']) +< sodir = subprefix.call(c['sitearchdir']) +--- +> siteruby = subprefix.call(c['vendordir']) +> versite = subprefix.call(c['vendorlibdir']) +> sodir = subprefix.call(c['vendorarchdir']) +EOF make make PREFIX=$pkgdir DESTDIR=$pkgdir install diff --git a/community/dmd/PKGBUILD b/community/dmd/PKGBUILD index e0ad22dc1..79d4d0c51 100644 --- a/community/dmd/PKGBUILD +++ b/community/dmd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 63477 2012-02-04 17:14:55Z svenstaro $ +# $Id: PKGBUILD 64556 2012-02-16 07:01:07Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Chris Brannon <cmbrannon79@gmail.com> # Contributor: Andrea Scarpino <andrea@archlinux.org> @@ -7,15 +7,15 @@ pkgname=('dmd' 'libphobos') pkgbase=dmd -pkgver=2.057 -pkgrel=2 +pkgver=2.058 +pkgrel=1 pkgdesc="The Digital Mars D compiler" arch=('i686' 'x86_64') url="http://www.digitalmars.com/d/2.0/" source=(http://ftp.digitalmars.com/$pkgname.$pkgver.zip - tools.tar.gz::https://github.com/D-Programming-Language/tools/tarball/v2.057beta) -md5sums=('531c4b60eb002ea8abbe5c80b2eb677d' - '5a0e4a9fe31f55bc69a1dd02486b9c3a') + tools.tar.gz::https://github.com/D-Programming-Language/tools/tarball/v${pkgver}) +md5sums=('81a0fe7b635d3a38ecbefff6048a37fe' + 'cce5249b59a38a4c0eddf113aff87698') license=('custom') [[ $CARCH == "x86_64" ]] && _archbits="64" @@ -58,7 +58,7 @@ package_dmd() { } package_libphobos() { - install -Dm644 $srcdir/dmd2/src/druntime/lib/libdruntime.a $pkgdir/usr/lib/libdruntime.a + install -Dm644 $srcdir/dmd2/src/druntime/lib/libdruntime-linux${_archbits}.a $pkgdir/usr/lib/libdruntime.a install -Dm644 $srcdir/dmd2/src/phobos/generated/linux/release/$_archbits/libphobos2.a $pkgdir/usr/lib/libphobos2.a mkdir -p $pkgdir/usr/include/d diff --git a/community/fityk/PKGBUILD b/community/fityk/PKGBUILD deleted file mode 100644 index 848c0cc97..000000000 --- a/community/fityk/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Thomas Dziedzic < gostrc at gmail > -# Contributor: Anton Bazhenov <anton.bazhenov at gmail> -# Contributor: Cuneyt Unlu <unlucu AT gmail.com> - -pkgname=fityk -pkgver=1.1.1 -pkgrel=4 -pkgdesc='A program for nonlinear fitting of analytical functions to data.' -arch=('i686' 'x86_64' 'mips64el') -url='http://www.unipress.waw.pl/fityk/' -license=('GPL') -depends=('xylib' 'shared-mime-info' 'lua' 'gnuplot' 'desktop-file-utils') # wxgtk supplied by statically linked wxWidgets -makedepends=('boost' 'git' 'python-sphinx' 'swig' 'subversion') -options=('!libtool') -install='fityk.install' - -build() { - # daily snapshot because fityk requires a version that hasn't been released yet... - svn checkout http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk wxWidgets - - cd wxWidgets - ./configure --prefix=${srcdir}/usr --disable-shared --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys - make - make install - - cd ${srcdir} - git clone git://github.com/wojdyr/fityk.git - cd fityk - git checkout v${pkgver} - #cd ${pkgname}-${pkgver} - - # disable xyconvert because wxwidgets>=2.9 is needed (dev version) and it isn't standard with arch yet - #--disable-xyconvert \ - ./autogen.sh \ - --prefix=/usr \ - --without-doc \ - --with-wx-prefix=${srcdir}/usr - #./configure \ - - make -} - -package() { - cd fityk - - make DESTDIR=${pkgdir} install -} diff --git a/community/fityk/fityk.install b/community/fityk/fityk.install deleted file mode 100644 index df476d572..000000000 --- a/community/fityk/fityk.install +++ /dev/null @@ -1,14 +0,0 @@ -post_install() { - update-mime-database /usr/share/mime - update-desktop-database -q -} - -post_upgrade() { - update-mime-database /usr/share/mime - update-desktop-database -q -} - -post_remove() { - update-mime-database /usr/share/mime - update-desktop-database -q -} diff --git a/community/ldc/PKGBUILD b/community/ldc/PKGBUILD index 78129a3a3..c9d36d11b 100644 --- a/community/ldc/PKGBUILD +++ b/community/ldc/PKGBUILD @@ -1,6 +1,7 @@ +# $Id: PKGBUILD 64554 2012-02-16 06:56:40Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> pkgname=ldc -pkgver=20120209 +pkgver=20120216 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') diff --git a/community/pam-krb5/PKGBUILD b/community/pam-krb5/PKGBUILD index 49647afef..7447235c4 100644 --- a/community/pam-krb5/PKGBUILD +++ b/community/pam-krb5/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 46339 2011-05-05 11:43:20Z spupykin $ +# $Id: PKGBUILD 64590 2012-02-16 20:49:57Z kchen $ # Maintainer: Kaiting Chen <kaitocracy@gmail.com> # Contributor: Ryan Corder <ryanc@greengrey.org> pkgname=pam-krb5 -pkgver=4.4 -pkgrel=2 +pkgver=4.5 +pkgrel=1 pkgdesc='A PAM module providing Kerberos v5 support.' arch=('i686' 'x86_64' 'mips64el') url='http://www.eyrie.org/~eagle/software/pam-krb5/' @@ -12,7 +12,7 @@ license=('custom') options=('!libtool') depends=('krb5' 'pam') source=("http://archives.eyrie.org/software/kerberos/$pkgname-$pkgver.tar.gz") -md5sums=('a3f9a414fef102cd815a763c965b315c') +md5sums=('5736795225cf7f84718af42a15570fe0') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/ruby-cairo/PKGBUILD b/community/ruby-cairo/PKGBUILD index a082bbacf..0e05880e5 100644 --- a/community/ruby-cairo/PKGBUILD +++ b/community/ruby-cairo/PKGBUILD @@ -1,24 +1,29 @@ -# Maintainer: Brad Fanella <bradfanella@archlinux.us> - +# $Id: PKGBUILD 64611 2012-02-17 02:54:22Z tdziedzic $ +# Maintiner: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Brad Fanella <bradfanella@archlinux.us> pkgname=ruby-cairo -_pkgname=rcairo pkgver=1.10.0 -pkgrel=2 +pkgrel=3 pkgdesc="Ruby bindings for cairo" arch=('i686' 'x86_64' 'mips64el') url="http://cairographics.org/rcairo/" license=('GPL') depends=('ruby' 'cairo>=1.2.0') makedepends=('ruby-pkgconfig') -source=(http://cairographics.org/releases/$_pkgname-$pkgver.tar.gz) -md5sums=('4fe76f1069d0d1ccfdf7848e3e928d9f') +source=("http://cairographics.org/releases/rcairo-$pkgver.tar.gz") +sha256sums=('70e2df4fe0bcd2875d7512279058b116e964ca91d152cf9eb2f05b5c7774f118') build() { - cd "$srcdir/$_pkgname-$pkgver" - ruby extconf.rb - make + cd "$srcdir/rcairo-$pkgver" + + ruby extconf.rb --vendor + make } + package() { - cd "$srcdir/$_pkgname-$pkgver" - make DESTDIR="$pkgdir" install + cd "$srcdir/rcairo-$pkgver" + + make DESTDIR="$pkgdir" install } + +# vim:set ts=2 sw=2 et: diff --git a/community/ruby-gtk2/PKGBUILD b/community/ruby-gtk2/PKGBUILD index 6c441072a..8d6598485 100644 --- a/community/ruby-gtk2/PKGBUILD +++ b/community/ruby-gtk2/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 63819 2012-02-05 18:41:40Z arodseth $ +# $Id: PKGBUILD 64609 2012-02-17 02:50:17Z tdziedzic $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Eric Bélanger # Contributor: Brad Fanella <bradfanella@archlinux.us> @@ -7,7 +7,7 @@ pkgbase=ruby-gtk2 pkgname=('ruby-atk' 'ruby-gdkpixbuf2' 'ruby-gio2' 'ruby-glib2' 'ruby-gtk2' 'ruby-pango') pkgver=1.1.2 -pkgrel=1 +pkgrel=2 arch=('x86_64' 'i686' 'mips64el') url="http://ruby-gnome2.sourceforge.jp/" license=('LGPL') @@ -17,7 +17,7 @@ sha256sums=('a16da4335c3e65ccab22e38caa55843fe2df18d55987c7be3f9dfc70866e2aaf') build() { cd "$srcdir/ruby-gtk2-$pkgver" - LANG="en_US.UTF-8" ruby extconf.rb atk gdk_pixbuf2 gio2 glib2 gtk2 pango --topdir="$pkgdir" + LANG="en_US.UTF-8" ruby extconf.rb atk gdk_pixbuf2 gio2 glib2 gtk2 pango --topdir="$pkgdir" --vendor make } diff --git a/community/ruby-ncurses/PKGBUILD b/community/ruby-ncurses/PKGBUILD index 79e296738..f3434fe32 100644 --- a/community/ruby-ncurses/PKGBUILD +++ b/community/ruby-ncurses/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 59686 2011-11-29 12:01:49Z arodseth $ +# $Id: PKGBUILD 64613 2012-02-17 02:56:44Z tdziedzic $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Brad Fanella <bradfanella@archlinux.us> # Contributor: Jeff Mickey <j@codemac.net> # Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> pkgname=ruby-ncurses pkgver=1.3.1 -pkgrel=2 +pkgrel=3 pkgdesc="Module for interactive text console applications (ncurses)" arch=('x86_64' 'i686') url="http://ncurses-ruby.berlios.de/" @@ -17,7 +17,7 @@ md5sums=('63fd3d09a51cdd745e1ed37f85621ea2') build() { cd "$srcdir/ncurses-ruby-$pkgver" - ruby extconf.rb + ruby extconf.rb --vendor make } diff --git a/community/sage-mathematics/PKGBUILD b/community/sage-mathematics/PKGBUILD deleted file mode 100644 index 8c3c88efc..000000000 --- a/community/sage-mathematics/PKGBUILD +++ /dev/null @@ -1,105 +0,0 @@ -# Maintainer: Thomas Dziedzic < gostrc at gmail > -# Contributor: Osman Ugus <ugus11@yahoo.com> -# Contributor: Stefan Husmann <stefan-husmann@t-online.de> -# Special thanks to Nareto for moving the compile from the .install to the PKGBUILD - -pkgname=sage-mathematics -pkgver=4.7.2 -pkgrel=3 -pkgdesc='SAGE: Open Source Mathematics Software, a viable free alternative to Magma, Maple, Mathematica, and Matlab.' -url='http://www.sagemath.org' -arch=('i686' 'x86_64' 'mips64el') -license=('GPL') -#depends=('readline') -depends=('ppl') -makedepends=('gcc-fortran' 'gcc-libs' 'desktop-file-utils' 'imagemagick' 'texlive-core') -optdepends=('imagemagick: some plotting functionality benefits from it' - 'texlive-core: some plotting functionality benefits from it, also to use SageTeX' - 'sage-mathematics-spkgs: original packages used to build additional packages') -options=('!makeflags') -install="${pkgname}.install" -source=("http://sage.math.washington.edu/home/release/sage-${pkgver}/sage-${pkgver}.tar" - 'SAGE-notebook.desktop') -md5sums=('b3073997e6c7ec00a269f84ff2e54973' - 'dc391f12b7d17dd37326343ec0e99bbd') - -build() { - cd sage-${pkgver} - - # modularization of sage, sort of :) - # fixes the following error: - # bash: symbol lookup error: bash: undefined symbol: rl_filename_rewrite_hook - # remove this hack when sage uses a readline 6.1 or greater, or when sage uses its own internal bash - # this is for people who have custom kernels (sage works this around by checking uname -r) - #mkdir -p spkg/installed - #touch spkg/installed/readline-6.1 - mkdir -p spkg/installed - touch spkg/installed/ppl-0.11.2 - - # fix "missing sage.all error" during build - unset CFLAGS - unset CXXFLAGS - - # fix build errors - unset LDFLAGS - - # enable multiple threads while building, is this really needed? check if uses MAKEFLAGS - export SAGE_BUILD_THREADS=$(lscpu | awk '/^CPU\(s\):/ { print $2 }') - export MAKE="make -j${SAGE_BUILD_THREADS}" - - # use archlinux's fortran rather then the one that ships with sage to compile sage's fortran - export SAGE_FORTRAN='/usr/bin/gfortran' - export SAGE_FORTRAN_LIB='/usr/lib/libgfortran.so' - - # disable building with debugging support - export SAGE_DEBUG='no' - - # enable fat binaries (disables processor specific optimizations) - # comment out if you're only building it for yourself - export SAGE_FAT_BINARY='yes' - - # can't write to root in a clean chroot - export DOT_SAGE='/build/src/' - - # only build sage, no documents - #make build - make -} - -<< COMMENT -check() { - cd sage-${pkgver} - - # uncomment if we want to run all the tests (warning: very long) - #make ptestlong -} -COMMENT - -package() { - cd sage-${pkgver} - - # cp because make install is experimental and will corrupt the install - install -d ${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 - - desktop-file-install ${srcdir}/SAGE-notebook.desktop \ - --dir ${pkgdir}/usr/share/applications - - # create link to main binary - install -d ${pkgdir}/usr/bin - ln -s /opt/sage/sage ${pkgdir}/usr/bin/sage - - # remove build logs - rm -f ${pkgdir}/opt/sage/install.log - rm -rf ${pkgdir}/opt/sage/spkg/logs - - # remove source packages, since they are rarely needed, they are 300mb in size (compressed) - # no need to package them together, put into sage-mathematics-spkgs - rm -f ${pkgdir}/opt/sage/spkg/base/*spkg - rm -f ${pkgdir}/opt/sage/spkg/standard/*spkg -} diff --git a/community/sage-mathematics/SAGE-notebook.desktop b/community/sage-mathematics/SAGE-notebook.desktop deleted file mode 100644 index 26a35d3ac..000000000 --- a/community/sage-mathematics/SAGE-notebook.desktop +++ /dev/null @@ -1,19 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=SAGE -Comment=SAGE NOTEBOOK -Comment[en_US]=SAGE NOTEBOOK -Exec=/opt/sage/sage -notebook -GenericName= -GenericName[de]= -Icon=/opt/sage/data/extcode/notebook/images/sageicon.png -MimeType= -Name[de]=SAGE -StartupNotify=true -Terminal=true -Type=Application -Categories=Science;Math; -X-DCOP-ServiceType= -X-KDE-SubstituteUID=false -X-KDE-Username= -GenericName[en_US]= diff --git a/community/sage-mathematics/sage-mathematics.install b/community/sage-mathematics/sage-mathematics.install deleted file mode 100644 index 6caa5299e..000000000 --- a/community/sage-mathematics/sage-mathematics.install +++ /dev/null @@ -1,56 +0,0 @@ -post_install() { - cd /opt/sage - - # set HOME because when sage updates its sage_root (after being moved) it will write files to ~/.sage with root ownership - # the files it writes to ~/.sage can be safely ignored - HOME=/tmp ./sage -c - - # add sagemath user for the daemon - useradd -r -c 'Sage daemon' -d /opt/sage -s /bin/false sagemath - - # Update LaTeX db to point to SageTeX - if [ -f /usr/bin/texhash ]; then - /usr/bin/texhash /usr/share/texmf - else - echo 'Warning: could not find /usr/bin/texhash' - echo 'SageTeX has been installed but you need to run:' - echo '# texhash /usr/share/texmf' - echo 'So that LaTeX will be able to find it.' - fi - -echo ' - ___ -/ (_) o | -\__ _ _ __ | -/ / |/ | | / \_| | | -\___/ | |_/|/\__/ \_/|/o - /| /| - \| \| - ________________________________ -< sage-mathematics, I mean, MOO! > - -------------------------------- - \ ^__^ - \ (oo)\_______ - (__)\ )\/\ - ||----w | - || || -' - -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - # Update LaTeX db to remove SageTeX entries - if [ -f /usr/bin/texhash ]; then - /usr/bin/texhash /usr/share/texmf - fi - - # remove the sagemath daemon user - userdel sagemath - - # clean up left overs - rm -rf /opt/sage -} diff --git a/community/sigil/PKGBUILD b/community/sigil/PKGBUILD index 692cf063e..c3db6e1c5 100644 --- a/community/sigil/PKGBUILD +++ b/community/sigil/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 63837 2012-02-06 01:19:19Z giovanni $ +# $Id: PKGBUILD 64563 2012-02-16 14:20:35Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> pkgname=sigil -pkgver=0.5.1 +pkgver=0.5.2 pkgrel=1 pkgdesc="A WYSIWYG ebook editor" arch=('i686' 'x86_64' 'mips64el') @@ -14,7 +14,7 @@ makedepends=('cmake') install=sigil.install source=("http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip" "${pkgname}.desktop") -md5sums=('82a2a764e38eb1372dbe43597055957d' +md5sums=('f32da6168a475041e4337fd70845851d' 'fef6aa492af487ccccd6b133635cee5a') build() { diff --git a/community/stone-soup/PKGBUILD b/community/stone-soup/PKGBUILD index 6f906779a..aa4bcb6e4 100644 --- a/community/stone-soup/PKGBUILD +++ b/community/stone-soup/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Jakob Gruber <jakob.gruber@gmail.com> pkgname=stone-soup -pkgver=0.9.1 +pkgver=0.10.0 pkgrel=1 pkgdesc='An open-source, single-player, role-playing roguelike game of exploration and treasure-hunting' arch=('i686' 'x86_64' 'mips64el') @@ -11,10 +11,8 @@ makedepends=('bison' 'flex') conflicts=('crawl' 'stone-soup-tile' 'stone-soup-git') license=('custom') install=stone-soup.install -source=("http://downloads.sourceforge.net/sourceforge/crawl-ref/stone_soup-${pkgver}-nodeps.tar.bz2" +source=("http://downloads.sourceforge.net/sourceforge/crawl-ref/stone_soup-${pkgver}-nodeps.tar.xz" "${pkgname}.desktop") -md5sums=('b9befb8177618d943295546c3d1e1d78' - 'afdacb4c39342e75674efb88eeb3da21') build() { @@ -23,9 +21,9 @@ build() { # adjust makefile to use /usr/bin, owner root:root, # disable setgid on executable - sed -i 's|bin_prefix := bin|bin_prefix := usr/bin|' makefile - sed -i 's/INSTALL_UGRP := games:games/INSTALL_UGRP := root:root/' makefile - sed -i 's|MCHMOD := 2755|MCHMOD := 755|' makefile + sed -i 's|bin_prefix := bin|bin_prefix := usr/bin|' Makefile + sed -i 's/INSTALL_UGRP := games:games/INSTALL_UGRP := root:root/' Makefile + sed -i 's|MCHMOD := 2755|MCHMOD := 755|' Makefile # first build and install tiles version @@ -63,3 +61,5 @@ build() { } # vim: ts=4:sw=4:expandtab +md5sums=('ca360fa13f730f501a0a31b187eeca46' + 'afdacb4c39342e75674efb88eeb3da21') diff --git a/community/supertuxkart/PKGBUILD b/community/supertuxkart/PKGBUILD index dcb29d348..8d4c066b6 100644 --- a/community/supertuxkart/PKGBUILD +++ b/community/supertuxkart/PKGBUILD @@ -1,32 +1,41 @@ -# $Id: PKGBUILD 35517 2010-12-21 13:39:10Z svenstaro $ +# $Id: PKGBUILD 64571 2012-02-16 20:13:20Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com> # Contributor: Allan McRae <allan@archlinux.org> # Contributor: rabyte <rabyte__gmail> pkgname=supertuxkart -pkgver=0.7 +pkgver=0.7.3 pkgrel=1 pkgdesc="A kart racing game featuring Tux and his friends" arch=('i686' 'x86_64' 'mips64el') url="http://supertuxkart.sourceforge.net/" license=('GPL2') -depends=('irrlicht' 'openal' 'libvorbis') -makedepends=() -source=(http://downloads.sourceforge.net/project/$pkgname/SuperTuxKart/0.7/$pkgname-$pkgver-src.tar.bz2) -md5sums=('2806f271e4d37fee5ad8ca166e1ad489') +depends=('openal' 'libvorbis' 'libgl' 'fribidi' 'curl') +makedepends=('cmake' 'subversion' 'mesa') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2) +md5sums=('502664b2ec9ad5ab88b1882fef4c074d') build() { + cd "$srcdir" + + svn co -r 3900 https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk irrlicht + + cd irrlicht/source/Irrlicht + NDEBUG=1 make + cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr --datadir=/usr/share + sed -i "s|share/games|share|g" CMakeLists.txt - # Fix compilation failure: http://bugs.gentoo.org/283490 - #sed -i 's/-lGL/-lGL -lGLU/' config.status + [[ -d build ]] && rm -r build + mkdir build && cd build - # those configure flags really mean nothing... - sed -i "s#/usr/local#/usr#" src/io/file_manager.cpp - sed -i "s#/games##" $(grep -Rl "/games" *) + cmake \ + -DIRRLICHT_DIR="$srcdir/irrlicht" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl" \ + .. make } @@ -34,11 +43,12 @@ build() { package() { cd ${srcdir}/${pkgname}-${pkgver} + cd build make DESTDIR=${pkgdir} install # fix executable location... - install -dm755 ${pkgdir}/usr/bin - mv ${pkgdir}/usr/supertuxkart ${pkgdir}/usr/bin/supertuxkart + install -Dm755 ${pkgdir}/usr/games/supertuxkart ${pkgdir}/usr/bin/supertuxkart + rm -r ${pkgdir}/usr/games sed -i "s#usr/supertuxkart#usr/bin/supertuxkart#" \ ${pkgdir}/usr/share/applications/supertuxkart.desktop diff --git a/community/xmms2/PKGBUILD b/community/xmms2/PKGBUILD index b2d59a5e6..d03e2876a 100644 --- a/community/xmms2/PKGBUILD +++ b/community/xmms2/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 58429 2011-11-12 17:19:30Z ibiru $ +# $Id: PKGBUILD 64615 2012-02-17 03:15:27Z tdziedzic $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=xmms2 pkgver=0.8DrO_o -pkgrel=2 +pkgrel=4 pkgdesc="complete rewrite of the popular music player" arch=('i686' 'x86_64' 'mips64el') url="http://xmms2.org/" @@ -48,26 +48,21 @@ conflicts=('xmms2-devel') install=xmms2.install source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2 xmms2d.conf - xmms2d.rc - xmms2-helpers.patch - vorbis-albumart.patch) + xmms2d.rc) md5sums=('84d5c05a70bfd31ed392a4e3f701eaa3' 'af13c937bf3c86b77ae6820107aab9b8' - '9d8e3e1a434f271423bdd228a1e9bd7c' - 'eddb800ebcc495b8574044a110a34add' - 'c5a16da0c5a6ebe5e7f58afb6edfa87e') + '9d8e3e1a434f271423bdd228a1e9bd7c') build() { cd ${srcdir}/${pkgname}-${pkgver} -# patch -Np1 < ${srcdir}/xmms2-helpers.patch -# patch -p1 <$srcdir/vorbis-albumart.patch - # python2 fix sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' waf ./waf configure --prefix=/usr \ - --with-optionals=python,launcher,xmmsclient++,xmmsclient++-glib,perl,ruby,nycli + --with-optionals=python,launcher,xmmsclient++,xmmsclient++-glib,perl,ruby,nycli \ + --with-ruby-archdir=`ruby -e 'puts RbConfig::CONFIG["vendorarchdir"]'` \ + --with-ruby-libdir=`ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]'` ./waf build ./waf --destdir=${pkgdir} install diff --git a/community/xylib/PKGBUILD b/community/xylib/PKGBUILD deleted file mode 100644 index dc0c87ea1..000000000 --- a/community/xylib/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Thomas Dziedzic < gostrc at gmail > - -pkgname=xylib -pkgver=0.8 -pkgrel=2 -pkgdesc='xylib is a portable C++ library for reading files that contain x-y data from powder diffraction, spectroscopy or other experimental methods.' -arch=('i686' 'x86_64' 'mips64el') -url='http://www.unipress.waw.pl/fityk/xylib/' -license=('LGPL') -makedepends=('boost') -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") -md5sums=('b6f9ddc48da2833dcb95d958bf93ba92') - -build() { - cd ${pkgname}-${pkgver} - - ./configure \ - --prefix=/usr - - make -} - -package() { - cd ${pkgname}-${pkgver} - - make DESTDIR=${pkgdir} install -} |