summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/dvtm/PKGBUILD8
-rw-r--r--community/dvtm/config.h31
-rw-r--r--community/gambas3/PKGBUILD12
-rw-r--r--community/gambas3/gambas3-runtime.install10
-rw-r--r--community/gsoap/PKGBUILD6
-rwxr-xr-xcommunity/pigz/PKGBUILD33
-rw-r--r--community/qtcreator/PKGBUILD73
-rw-r--r--community/stone-soup/PKGBUILD10
-rw-r--r--community/stunnel/PKGBUILD34
-rw-r--r--community/vdrift/PKGBUILD36
10 files changed, 114 insertions, 139 deletions
diff --git a/community/dvtm/PKGBUILD b/community/dvtm/PKGBUILD
index b5444c7f4..358b4251d 100644
--- a/community/dvtm/PKGBUILD
+++ b/community/dvtm/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 52669 2011-07-27 12:48:55Z lfleischer $
+# $Id: PKGBUILD 55178 2011-09-04 22:30:57Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Giorgio Lando <patroclo7@gmail.com>
# Contributor: bender02 at gmx dot com
pkgname=dvtm
-pkgver=0.6
+pkgver=0.7
pkgrel=1
pkgdesc='Dynamic virtual terminal manager.'
arch=('i686' 'x86_64')
@@ -13,8 +13,8 @@ license=('MIT')
depends=('ncurses')
source=("http://www.brain-dump.org/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'config.h')
-md5sums=('db77a3744868dd91a5ae5ad98b7df709'
- '5759191a39281e62a64941d3f28cf010')
+md5sums=('d8ef63bad5b48324ad040630c51a1c26'
+ '50ae76c4b33864f0cf051417443cc422')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/dvtm/config.h b/community/dvtm/config.h
index 39e121ee9..2b00776f2 100644
--- a/community/dvtm/config.h
+++ b/community/dvtm/config.h
@@ -22,7 +22,7 @@
#define NORMAL_FG -1
#define NORMAL_BG -1
/* status bar (command line option -s) position */
-#define BARPOS BarTop /* BarBot, BarOff */
+#define BAR_POS BAR_TOP /* BAR_BOTTOM, BAR_OFF */
/* curses attributes for the status bar */
#define BAR_ATTR A_NORMAL
#define BAR_FG BLUE
@@ -36,9 +36,9 @@
* the SEPARATOR, %d stands for the window number */
#define TITLE "[%s%s#%d]"
/* master width factor [0.1 .. 0.9] */
-#define MWFACT 0.5
+#define MFACT 0.5
/* scroll back buffer size in lines */
-#define SCROLL_BUF_SIZE 500
+#define SCROLL_HISTORY 500
#include "tile.c"
#include "grid.c"
@@ -68,15 +68,11 @@ Key keys[] = {
{ MOD, 'b', { setlayout, { "TTT" } } },
{ MOD, 'm', { setlayout, { "[ ]" } } },
{ MOD, ' ', { setlayout, { NULL } } },
- { MOD, 'h', { setmwfact, { "-0.05" } } },
- { MOD, 'l', { setmwfact, { "+0.05" } } },
+ { MOD, 'h', { setmfact, { "-0.05" } } },
+ { MOD, 'l', { setmfact, { "+0.05" } } },
{ MOD, '.', { toggleminimize, { NULL } } },
-#ifdef CONFIG_STATUSBAR
{ MOD, 's', { togglebar, { NULL } } },
-#endif
-#ifdef CONFIG_MOUSE
- { MOD, 'M', { mouse_toggle, { NULL } } },
-#endif
+ { MOD, 'M', { togglemouse, { NULL } } },
{ MOD, '\n', { zoom , { NULL } } },
{ MOD, '1', { focusn, { "1" } } },
{ MOD, '2', { focusn, { "2" } } },
@@ -98,6 +94,13 @@ Key keys[] = {
{ MOD, '?', { create, { "man dvtm", "dvtm help" } } },
};
+static const ColorRule colorrules[] = {
+ /* title attrs fgcolor bgcolor */
+#if 0
+ { "ssh", A_NORMAL, COLOR_BLACK, 224 },
+#endif
+};
+
/* possible values for the mouse buttons are listed below:
*
* BUTTON1_PRESSED mouse button 1 down
@@ -127,6 +130,12 @@ Key keys[] = {
* REPORT_MOUSE_POSITION report mouse movement
*/
+#ifdef NCURSES_MOUSE_VERSION
+# define CONFIG_MOUSE /* compile in mouse support if we build against ncurses */
+#endif
+
+#define ENABLE_MOUSE true /* whether to enable mouse events by default */
+
#ifdef CONFIG_MOUSE
Button buttons[] = {
{ BUTTON1_CLICKED, { mouse_focus, { NULL } } },
@@ -136,11 +145,9 @@ Button buttons[] = {
};
#endif /* CONFIG_MOUSE */
-#ifdef CONFIG_CMDFIFO
Cmd commands[] = {
{ "create", { create, { NULL } } },
};
-#endif /* CONFIG_CMDFIFO */
/* gets executed when dvtm is started */
Action actions[] = {
diff --git a/community/gambas3/PKGBUILD b/community/gambas3/PKGBUILD
index 728a5cab9..97fe39330 100644
--- a/community/gambas3/PKGBUILD
+++ b/community/gambas3/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 53990 2011-08-11 07:04:13Z lcarlier $
+# $Id: PKGBUILD 55150 2011-09-04 08:52:45Z lcarlier $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgbase=gambas3
@@ -12,7 +12,7 @@ pkgname=('gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script' 'gamba
'gambas3-gb-pdf' 'gambas3-gb-qt4' 'gambas3-gb-qt4-ext' 'gambas3-gb-qt4-opengl' 'gambas3-gb-qt4-webkit'
'gambas3-gb-report' 'gambas3-gb-sdl' 'gambas3-gb-sdl-sound' 'gambas3-gb-settings' 'gambas3-gb-signal'
'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-xml' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-web')
-pkgver=2.99.2
+pkgver=2.99.3
pkgrel=1
pkgdesc="A free development environment based on a Basic interpreter."
arch=('i686' 'x86_64')
@@ -27,9 +27,9 @@ makedepends=('intltool' 'mysql' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-utils
options=('!emptydirs' '!makeflags')
source=("http://downloads.sourceforge.net/gambas/${pkgbase}-${pkgver}.tar.bz2"
'gambas3-script.install' 'gambas3-runtime.install')
-md5sums=('247a13e28972985766855a6bc4d6d368'
+md5sums=('e576fa9e72863dab0196250cb35f2a9b'
'b284be39d147ec799f1116a6abc068b4'
- 'a8ec8e5a6aba7a7e453ce7a35c1800a9')
+ 'b5cc403990f31b8ea1c5cf37366d3d29')
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
@@ -69,8 +69,8 @@ package_gambas3-runtime() {
install -D -m644 mime/* \
${pkgdir}/usr/share/gambas3/mime/
install -d -m755 ${pkgdir}/usr/share/gambas3/icons
- install -D -m644 mime/application-x-gambas.png \
- ${pkgdir}/usr/share/gambas3/icons/application-x-gambas.png
+ install -D -m644 mime/application-x-gambas3.png \
+ ${pkgdir}/usr/share/gambas3/icons/application-x-gambas3.png
cd gbc
make DESTDIR="${pkgdir}" uninstall
diff --git a/community/gambas3/gambas3-runtime.install b/community/gambas3/gambas3-runtime.install
index c6aad0d55..6c8201a6a 100644
--- a/community/gambas3/gambas3-runtime.install
+++ b/community/gambas3/gambas3-runtime.install
@@ -1,12 +1,10 @@
post_install() {
xdg-icon-resource install --context mimetypes --size 64 \
- /usr/share/gambas3/mime/application-x-gambas.png application-x-gambas
- xdg-mime install /usr/share/gambas3/mime/application-x-gambas.xml
+ /usr/share/gambas3/mime/application-x-gambas.png application-x-gambas3
+ xdg-mime install /usr/share/gambas3/mime/application-x-gambas3.xml
}
pre_remove() {
- xdg-icon-resource uninstall --context mimetypes --size 64 application-x-gambas
- xdg-mime uninstall /usr/share/gambas3/mime/application-x-gambas.xml
+ xdg-icon-resource uninstall --context mimetypes --size 64 application-x-gambas3
+ xdg-mime uninstall /usr/share/gambas3/mime/application-x-gambas3.xml
}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community/gsoap/PKGBUILD b/community/gsoap/PKGBUILD
index 56b09d32f..d27b33dbc 100644
--- a/community/gsoap/PKGBUILD
+++ b/community/gsoap/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 46364 2011-05-06 10:36:35Z spupykin $
+# $Id: PKGBUILD 55148 2011-09-04 07:26:57Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Tor Krill <tor@krill.nu>
# Contributor: Lee.MaRS <leemars@gmail.com>
pkgname=gsoap
-pkgver=2.8.2
+pkgver=2.8.3
pkgrel=1
pkgdesc="Offers an XML language binding to ease the development of SOAP/XML Web services in C and C/C++"
url="http://www.cs.fsu.edu/~engelen/soap.html"
@@ -14,7 +14,7 @@ depends=('openssl' 'zlib' 'gcc-libs')
makedepends=('autoconf' 'automake')
source=(http://prdownloads.sourceforge.net/gsoap2/${pkgname}_${pkgver}.zip
LICENSE)
-md5sums=('9cd47be235bc5b8d085bf6eff30fa204'
+md5sums=('48e7739a5719bd635843e42d2ec670f7'
'27aaa3f5166db94d44044c11a7b2c37b')
build() {
diff --git a/community/pigz/PKGBUILD b/community/pigz/PKGBUILD
new file mode 100755
index 000000000..de0dc48f4
--- /dev/null
+++ b/community/pigz/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor: Laszlo Papp <djszapi2@gmail.com>
+# Maintainer:Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=pigz
+pkgver=2.1.6
+pkgrel=2
+pkgdesc="Parallel implementation of the gzip file compressor"
+arch=('i686' 'x86_64')
+url="http://www.zlib.net/pigz/"
+license=('custom')
+depends=('zlib')
+source=(http://www.zlib.net/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('cbe9030c4be3d0ef2438ee5f8b169ca4')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+ sed -i s/"CFLAGS=".*/"CFLAGS=${CFLAGS}"/g Makefile
+ make
+}
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+ install -Dm755 ${srcdir}/${pkgname}-${pkgver}/${pkgname} \
+ ${pkgdir}/usr/bin/${pkgname}
+ pushd ${pkgdir}/usr/bin
+ ln -s pigz unpigz
+ popd
+ install -Dm644 ${srcdir}/${pkgname}-${pkgver}/${pkgname}.1 \
+ ${pkgdir}/usr/share/man/man1/${pkgname}.1
+ install -Dm644 ${srcdir}/${pkgname}-${pkgver}/${pkgname}.pdf \
+ ${pkgdir}/usr/share/doc/${pkgname}/${pkgname}.pdf
+ install -Dm644 ${srcdir}/${pkgname}-${pkgver}/README \
+ ${pkgdir}/usr/share/licenses/${pkgname}/README
+}
diff --git a/community/qtcreator/PKGBUILD b/community/qtcreator/PKGBUILD
index 4fd8b9f42..041ec5eee 100644
--- a/community/qtcreator/PKGBUILD
+++ b/community/qtcreator/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 50126 2011-06-25 11:05:26Z svenstaro $
+# $Id: PKGBUILD 55146 2011-09-04 05:13:28Z svenstaro $
# Maintainer: Imanol Celaya <ornitorrincos@archlinux-es.org>
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
@@ -6,24 +6,19 @@
# Contributor: thotypous <matiasΘarchlinux-br·org>
# Contributor: delor <bartekpiech gmail com>
-pkgbase=qtcreator
-# artisticstyle plugin does currently not support qtcreator 2.2.0
-#pkgname=('qtcreator' 'qtcreator-todo-plugin' 'qtcreator-artisticstyle-plugin')
-pkgname=('qtcreator' 'qtcreator-todo-plugin')
-pkgver=2.2.1
-pkgrel=3
+pkgname="qtcreator"
+pkgver=2.3.0
+pkgrel=1
pkgdesc='Lightweight, cross-platform integrated development environment'
arch=('i686' 'x86_64')
url='http://qt.nokia.com/products/developer-tools'
license=('LGPL')
-depends=('qt>=4.7.3')
-makedepends=('qt-private-headers>=4.7.3' 'git')
+depends=('qt>=4.7.4')
+makedepends=('qt-private-headers>=4.7.4' 'git')
options=('docs')
source=("http://get.qt.nokia.com/qtcreator/qt-creator-${pkgver}-src.tar.gz"
- 'http://download.berlios.de/astyleplugin/ArtisticStylePlugin-0.6-src.zip'
'qtcreator.desktop')
-md5sums=('35d74837e48b12ee58379e1c029a9a6c'
- '4dab1bb07ba5c39ae4c975a333d32ec1'
+md5sums=('b7ee1b779f9afe9190c5c72fb207650c'
'2c3ffbd66845b37be9804f2966815a10')
build() {
@@ -32,25 +27,10 @@ build() {
mkdir build && cd build
qmake ${srcdir}/qt-creator-${pkgver}-src/qtcreator.pro
- make --quiet
-
- # Building TODO plugin
- git clone git://gitorious.org/qt-creator-todo-plugin/qt-creator-todo-plugin.git $srcdir/qt-creator-todo-plugin
- msg "Starting TODO plugin build...."
- cd $srcdir/qt-creator-todo-plugin
- sed -i "s|QTC_BUILD_DIR = .*|QTC_BUILD_DIR = ${srcdir}/build|g" todoplugin.pro
- sed -i "s|QTC_SOURCE_DIR = .*|QTC_SOURCE_DIR = $srcdir/qt-creator-${pkgver}-src/|g" todoplugin.pro
- sed -i "s|\"2.1.81\"|\"${pkgver}\"|g" todo.pluginspec
- qmake
make
-
-# msg "Starting ArtisticStyle plugin build...."
-# cd $srcdir/ArtisticStylePlugin-0.6
-# qmake QTC_BUILD=$srcdir/build QTC_SOURCE=$srcdir/qt-creator-${pkgver}-src -config release
-# make
}
-package_qtcreator() {
+package() {
optdepends=('qt-doc: for the integrated Qt documentation'
'gdb: for the debugger'
'cmake: for cmake project suppport'
@@ -63,18 +43,10 @@ package_qtcreator() {
make INSTALL_ROOT="${pkgdir}/usr/" install
- # qt already fixed this
- if [[ -f "$pkgdir/usr/bin/qmlpuppet" ]]; then
- echo "Remove this manual install as it is now unnecessary (probably qtcreator 2.3.0)"
- return 1
- fi
- install -Dm755 bin/qmlpuppet "$pkgdir/usr/bin/qmlpuppet"
- # remove it soon
-
# qt already fixed this as well
if [[ -f "$pkgdir/usr/lib/qmldesigner/libqtquickplugin.so" ]]; then
echo "Remove this manual install as it is now unnecessary (probably qtcreator 2.3.0)"
- return 1
+ exit 1
fi
mkdir "$pkgdir/usr/lib/qmldesigner"
cp lib/qmldesigner/*.so "$pkgdir/usr/lib/qmldesigner/"
@@ -85,30 +57,3 @@ package_qtcreator() {
install -Dm644 ${srcdir}/qt-creator-${pkgver}-src/LGPL_EXCEPTION.TXT \
${pkgdir}/usr/share/licenses/qtcreator/LGPL_EXCEPTION.TXT
}
-
-package_qtcreator-todo-plugin() {
- license=('BSD')
- depends=("qtcreator=$pkgver")
- pkgdesc='TODO plugin for QtCreator'
- url='http://gitorious.org/qt-creator-tod
- install -Dm644 ${srcdir}/qtcreator.desktop \
- ${pkgdir}/usr/share/applications/qtcreator.desktop
- install -Dm644 ${srcdir}/qt-creator-${pkgver}-src/LGPL_EXCEPTION.TXT \
- o-plugin'
-
- cd $srcdir/qt-creator-todo-plugin
- make INSTALL_ROOT=$pkgdir/usr/ install
-
- install -Dm644 LICENSE.BSD \
- $pkgdir/usr/share/licenses/${pkgname}/LICENSE
-}
-
-#package_qtcreator-artisticstyle-plugin() {
-# license=('GPL3' 'LGPL')
-# depends=("qtcreator=$pkgver")
-# pkgdesc='ArtisticStyle plugin for QtCreator'
-# url='http://astyleplugin.berlios.de/index.php'
-#
-# cd $srcdir/ArtisticStylePlugin-0.6
-# make INSTALL_ROOT=$pkgdir/usr/ install
-#}
diff --git a/community/stone-soup/PKGBUILD b/community/stone-soup/PKGBUILD
index 8a893538b..54fc98c25 100644
--- a/community/stone-soup/PKGBUILD
+++ b/community/stone-soup/PKGBUILD
@@ -1,19 +1,19 @@
# Maintainer: Jakob Gruber <jakob.gruber@gmail.com>
pkgname=stone-soup
-pkgver=0.9.0
-pkgrel=2
-pkgdesc="An open-source, single-player, role-playing roguelike game of exploration and treasure-hunting"
+pkgver=0.9.1
+pkgrel=1
+pkgdesc='An open-source, single-player, role-playing roguelike game of exploration and treasure-hunting'
arch=('i686' 'x86_64')
url='http://crawl.develz.org/'
depends=('lua' 'ncurses' 'sdl_image' 'sqlite3' 'libgl' 'mesa' 'freetype2')
makedepends=('bison' 'flex')
conflicts=('crawl' 'stone-soup-tile' 'stone-soup-git')
license=('custom')
-install=('stone-soup.install')
+install=stone-soup.install
source=("http://downloads.sourceforge.net/sourceforge/crawl-ref/stone_soup-${pkgver}-nodeps.tar.bz2"
"${pkgname}.desktop")
-md5sums=('3f73fb051215df3633a554d81e67a452'
+md5sums=('b9befb8177618d943295546c3d1e1d78'
'afdacb4c39342e75674efb88eeb3da21')
build() {
diff --git a/community/stunnel/PKGBUILD b/community/stunnel/PKGBUILD
index eb2a50995..e7ae09a0e 100644
--- a/community/stunnel/PKGBUILD
+++ b/community/stunnel/PKGBUILD
@@ -1,48 +1,54 @@
-# $Id: PKGBUILD 51826 2011-07-16 00:11:50Z dreisner $
+# $Id: PKGBUILD 55167 2011-09-04 16:26:15Z dreisner $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Kevin Piche <kevin@archlinux.org>
pkgname=stunnel
-pkgver=4.39
+pkgver=4.42
pkgrel=1
pkgdesc="A program that allows you to encrypt arbitrary TCP connections inside SSL"
arch=('i686' 'x86_64')
url="http://www.stunnel.org"
license=('GPL')
depends=('openssl')
-install=stunnel.install
+install=$pkgname.install
options=('!libtool')
-source=("ftp://ftp.stunnel.org/stunnel/$pkgname-$pkgver.tar.gz"
- 'Makefile.patch' 'stunnel.rc.d')
-md5sums=('853739119a8364daea750154af6d7e79'
+source=("ftp://ftp.stunnel.org/stunnel/$pkgname-$pkgver.tar.gz"{,.asc}
+ 'Makefile.patch'
+ 'stunnel.rc.d')
+md5sums=('f64a7426166d397dd826deef33bb6aa0'
+ '011dc68c245c465d120e8bfad10cc891'
'f15398497e10e080c2406d2fc541660c'
'cb647c71ff4cb1e035b6e515d5f13ebf')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$srcdir/$pkgname-$pkgver"
+
# don't create a certificate...
- patch -p0 < $srcdir/Makefile.patch
+ patch -p0 < "$srcdir/Makefile.patch"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-ipv6 \
--disable-libwrap
+
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR=$pkgdir install
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
for i in ca.pl importCA.sh; do
- install -Dm755 tools/$i $pkgdir/usr/share/stunnel/$i
+ install -Dm755 "tools/$i" "$pkgdir/usr/share/stunnel/$i"
done
- install -Dm755 $srcdir/stunnel.rc.d $pkgdir/etc/rc.d/stunnel
+
+ install -Dm644 tools/stunnel.cnf "$pkgdir/etc/stunnel/stunnel.cnf"
+ install -Dm755 "$srcdir/stunnel.rc.d" "$pkgdir/etc/rc.d/stunnel"
+
sed -e "s:/usr/var/lib/stunnel/:/var/run/stunnel:g" \
-e "s:/usr/etc/stunnel/:/etc/stunnel/:g" \
-e "s:nobody:stunnel:g" -e "s:nogroup:stunnel:g" \
- -i ${pkgdir}/etc/stunnel/stunnel.conf-sample
- install -Dm644 tools/stunnel.cnf $pkgdir/etc/stunnel/stunnel.cnf
+ -i "$pkgdir/etc/stunnel/stunnel.conf-sample"
}
diff --git a/community/vdrift/PKGBUILD b/community/vdrift/PKGBUILD
index 41dab8d90..1e200c83d 100644
--- a/community/vdrift/PKGBUILD
+++ b/community/vdrift/PKGBUILD
@@ -1,24 +1,24 @@
-# $Id: PKGBUILD 47904 2011-05-26 00:55:30Z svenstaro $
+# $Id: PKGBUILD 55155 2011-09-04 13:08:06Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: Lone_Wolf lonewolf@xs4all.nl
pkgname=vdrift
-pkgver=2010.06.30
-pkgrel=3
+pkgver=2011.09.01
+pkgrel=1
pkgdesc="An open source driving simulation made with drift racing in mind"
arch=('i686' 'x86_64')
url="http://vdrift.net/"
license=('GPL')
-depends=('sdl_gfx' 'sdl_image' 'glew' 'libvorbis' 'vdrift-data')
+depends=('bullet' 'curl' 'sdl_gfx' 'sdl_image' 'glew' 'libvorbis' 'vdrift-data')
makedepends=('scons' 'boost' 'asio')
-source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-${pkgver//./-}/$pkgname-${pkgver//./-}.tar.bz2
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-src-${pkgver//./-}.tar.bz2
$pkgname.desktop)
-md5sums=('ddcaf90bb25f9ce9cc084d7f467d7b56'
+md5sums=('a4099acacca3d4f0799b012cd168f1c0'
'8bb429f37bcb4aed5e7ab1d80c5a4f93')
build() {
- cd "$srcdir"/$pkgname-${pkgver//./-}
+ cd "$srcdir"/$pkgname-src-${pkgver//./-}
# select arch
if [ `uname -m` = "x86_64" ]; then
@@ -27,8 +27,8 @@ build() {
_sconsarch="686"
fi
- # patch for crashing with bad drivers
sed -i 's/glGenerateMipmap/glGenerateMipmapEXT/g' src/texture.cpp
+ sed -i '/types.h/d' src/http.h
# build and install
scons \
@@ -37,30 +37,16 @@ build() {
"release"=1 \
"force_feedback"=1 \
"prefix"=/usr \
- "datadir"=share/$pkgname/data || return 1
+ "datadir"=share/$pkgname/
}
package() {
- cd "$srcdir"/$pkgname-${pkgver//./-}
+ cd "$srcdir"/$pkgname-src-${pkgver//./-}
- scons install || return 1
-
- # remove some unneeded files
- find "$pkgdir"/usr/share/$pkgname -name SConscript -delete
-
- # install icons
- install -Dm644 data/textures/icons/$pkgname-16x16.png \
- "$pkgdir"/usr/share/icons/hicolor/16x16/apps/$pkgname.png
- install -Dm644 data/textures/icons/$pkgname-32x32.png \
- "$pkgdir"/usr/share/icons/hicolor/32x32/apps/$pkgname.png
- install -Dm644 data/textures/icons/$pkgname-64x64.png \
- "$pkgdir"/usr/share/icons/hicolor/64x64/apps/$pkgname.png
+ scons install
# install .desktop file
install -Dm644 ../$pkgname.desktop \
"$pkgdir"/usr/share/applications/$pkgname.desktop
-
- # delete installed data (will be provided by -data package)
- rm -r "$pkgdir"/usr/share/$pkgname
}
# vim: sw=2:ts=2 et: