summaryrefslogtreecommitdiff
path: root/community-staging
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-31 00:04:43 +0000
committerroot <root@rshg054.dnsready.net>2012-08-31 00:04:43 +0000
commit68cdc08aec92abf91448a542e06fabbedbb583bf (patch)
tree2c42e2f29a6162e0cb5ff3db8f0b46277ab4ed90 /community-staging
parentdba5b0127d9f00a13c489f0f5893481cbe7d429b (diff)
Fri Aug 31 00:04:43 UTC 2012
Diffstat (limited to 'community-staging')
-rw-r--r--community-staging/c++-gtk-utils/PKGBUILD29
-rw-r--r--community-staging/passenger/PKGBUILD32
-rw-r--r--community-staging/passenger/build-fix.patch12
-rw-r--r--community-staging/passenger/passenger.install32
-rw-r--r--community-staging/sigil/PKGBUILD48
-rw-r--r--community-staging/sigil/sigil.install12
-rw-r--r--community-staging/tmw/PKGBUILD28
-rw-r--r--community-staging/vdrift/PKGBUILD61
-rw-r--r--community-staging/vdrift/vdrift.install11
9 files changed, 265 insertions, 0 deletions
diff --git a/community-staging/c++-gtk-utils/PKGBUILD b/community-staging/c++-gtk-utils/PKGBUILD
new file mode 100644
index 000000000..3e4af82fb
--- /dev/null
+++ b/community-staging/c++-gtk-utils/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 75681 2012-08-29 07:32:00Z spupykin $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=c++-gtk-utils
+pkgver=2.0.11
+pkgrel=2
+pkgdesc="Classes and functions for programming in GTK+"
+arch=('i686' 'x86_64')
+url="http://cxx-gtk-utils.sourceforge.net/"
+license=('LGPL2.1')
+depends=('gtk3')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/project/cxx-gtk-utils/cxx-gtk-utils/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('30e0299d677fb857bb0291e467408279')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --disable-rpath \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community-staging/passenger/PKGBUILD b/community-staging/passenger/PKGBUILD
new file mode 100644
index 000000000..0464836d8
--- /dev/null
+++ b/community-staging/passenger/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 75683 2012-08-29 07:32:45Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=passenger
+pkgver=3.0.15
+pkgrel=1
+_pkgdlnr=76337
+pkgdesc="mod_rails passenger"
+arch=('i686' 'x86_64')
+url="http://www.modrails.com"
+license=('GPL')
+depends=('ruby' 'ruby-rack' 'curl')
+makedepends=('apache')
+install=passenger.install
+options=('!emptydirs')
+source=(http://rubyforge.org/frs/download.php/${_pkgdlnr}/passenger-$pkgver.tar.gz
+ build-fix.patch)
+md5sums=('532d977eabb4acd5a831b3526ddd8ac4'
+ 'ee4699596dffb5357fdac4e3b2c98ee1')
+
+build(){
+ cd $srcdir/passenger-$pkgver
+ patch -p1 <$srcdir/build-fix.patch
+ ./bin/passenger-install-apache2-module -a
+ rake nginx
+
+ mkdir -p $pkgdir/usr/lib/passenger/
+ cp -R * $pkgdir/usr/lib/passenger/
+
+ mkdir -p $pkgdir/usr/lib/httpd/modules
+ ln -sf /usr/lib/passenger/ext/apache2/mod_passenger.so $pkgdir/usr/lib/httpd/modules/mod_passenger.so
+}
diff --git a/community-staging/passenger/build-fix.patch b/community-staging/passenger/build-fix.patch
new file mode 100644
index 000000000..cdbb78e68
--- /dev/null
+++ b/community-staging/passenger/build-fix.patch
@@ -0,0 +1,12 @@
+diff -wbBur passenger-3.0.15/ext/boost/thread/xtime.hpp passenger-3.0.15.my/ext/boost/thread/xtime.hpp
+--- passenger-3.0.15/ext/boost/thread/xtime.hpp 2012-04-16 11:43:52.000000000 +0400
++++ passenger-3.0.15.my/ext/boost/thread/xtime.hpp 2012-08-29 11:06:02.000000000 +0400
+@@ -18,6 +18,8 @@
+
+ namespace boost {
+
++#undef TIME_UTC
++
+ enum xtime_clock_types
+ {
+ TIME_UTC=1
diff --git a/community-staging/passenger/passenger.install b/community-staging/passenger/passenger.install
new file mode 100644
index 000000000..6faaab1b6
--- /dev/null
+++ b/community-staging/passenger/passenger.install
@@ -0,0 +1,32 @@
+post_install() {
+ echo "Please edit your Apache configuration file, and add these lines:"
+ echo ""
+ echo "LoadModule passenger_module /usr/lib/httpd/modules/mod_passenger.so"
+ echo "PassengerRoot /usr/lib/passenger"
+ echo "PassengerRuby /usr/bin/ruby"
+ echo ""
+ echo "After you restart Apache, you are ready to deploy any number of Ruby on Rails"
+ echo "applications on Apache, without any further Ruby on Rails-specific"
+ echo "configuration!"
+ echo ""
+ echo ""
+ echo "Deploying a Ruby on Rails application: an example"
+ echo ""
+ echo "Suppose you have a Ruby on Rails application in /somewhere. Add a virtual host"
+ echo "to your Apache configuration file, and set its DocumentRoot to"
+ echo "/somewhere/public, like this:"
+ echo ""
+ echo "<VirtualHost *:80>"
+ echo " ServerName www.yourhost.com"
+ echo " DocumentRoot /somewhere/public # <-- be sure to point to 'public'!"
+ echo " <Directory /somewhere/public>"
+ echo " AllowOverride all # <-- relax Apache security settings"
+ echo " Options -MultiViews # <-- MultiViews must be turned off"
+ echo " </Directory>"
+ echo "</VirtualHost>"
+ echo ""
+ echo "And that's it! You may also want to check the Users Guide for security and"
+ echo "optimization tips, troubleshooting and other useful information:"
+ echo ""
+ echo "/usr/lib/passenger/doc/Users guide Apache.html"
+}
diff --git a/community-staging/sigil/PKGBUILD b/community-staging/sigil/PKGBUILD
new file mode 100644
index 000000000..339aee5f3
--- /dev/null
+++ b/community-staging/sigil/PKGBUILD
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 75700 2012-08-29 08:34:34Z spupykin $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=sigil
+pkgver=0.5.3
+pkgrel=1
+pkgdesc="WYSIWYG ebook editor"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/sigil/"
+license=('GPL3')
+depends=('qtwebkit' 'boost-libs')
+makedepends=('cmake' 'gendesk' 'boost')
+install=sigil.install
+source=("http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip")
+md5sums=('83c1a5608a2ec59a83c86ccc1429b5cc')
+
+build() {
+ cd "${srcdir}"
+ gendesk -n
+
+ mkdir build
+ cd build
+ cmake -G "Unix Makefiles" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
+ -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON ..
+
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make install DESTDIR="${pkgdir}"
+
+ install -d -m 0755 "${pkgdir}"/usr/share/applications
+ install -m 0644 "${srcdir}"/${pkgname}.desktop \
+ "${pkgdir}"/usr/share/applications
+
+ for _pic in 16 32 48 128 256; do
+ install -D -m 0644 ../src/Sigil/Resource_Files/icon/app_icon_${_pic}.png \
+ "${pkgdir}"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/${pkgname}.png
+ done
+ install -Dm644 ../src/Sigil/Resource_Files/icon/app_icon_128.png \
+ "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}
diff --git a/community-staging/sigil/sigil.install b/community-staging/sigil/sigil.install
new file mode 100644
index 000000000..ec506fa93
--- /dev/null
+++ b/community-staging/sigil/sigil.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/community-staging/tmw/PKGBUILD b/community-staging/tmw/PKGBUILD
new file mode 100644
index 000000000..b37a2a9f1
--- /dev/null
+++ b/community-staging/tmw/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 75685 2012-08-29 07:42:44Z spupykin $
+# Contributor: Bjorn Lindeijer <bjorn lindeijer nl>
+# Maintainer: Mateusz Herych <heniekk@gmail.com>
+
+pkgname=tmw
+pkgver=0.6.1
+pkgrel=1
+pkgdesc="The Mana World (TMW) is a serious effort to create an innovative free and open source MMORPG."
+arch=('i686' 'x86_64')
+url="http://themanaworld.org"
+license=('GPL')
+depends=('curl' 'guichan' 'sdl_image' 'libgl' 'libxml2' 'physfs'
+ 'sdl_mixer' 'sdl_net' 'sdl_gfx' 'sdl_ttf')
+makedepends=('cmake' 'mesa')
+#source=(http://downloads.sourceforge.net/sourceforge/themanaworld/$pkgname-$pkgver.tar.bz2)
+source=($pkgname-$pkgver.tar.gz::https://github.com/mana/mana/tarball/v$pkgver)
+md5sums=('b021e368c813fb95bea00bbf02e6d607')
+
+build() {
+ cd $srcdir/mana-mana-*
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/mana-mana-*
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community-staging/vdrift/PKGBUILD b/community-staging/vdrift/PKGBUILD
new file mode 100644
index 000000000..2970f7aee
--- /dev/null
+++ b/community-staging/vdrift/PKGBUILD
@@ -0,0 +1,61 @@
+# $Id: PKGBUILD 75708 2012-08-29 09:52:39Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: Lone_Wolf lonewolf@xs4all.nl
+
+pkgname=vdrift
+pkgver=2012.07.22
+pkgrel=1
+pkgdesc="Open source driving simulation made with drift racing in mind"
+arch=('i686' 'x86_64')
+url="http://vdrift.net/"
+license=('GPL')
+depends=('bullet' 'curl' 'sdl_gfx' 'sdl_image' 'glew' 'libvorbis' 'vdrift-data'
+ 'gtk-update-icon-cache' 'hicolor-icon-theme' 'libarchive')
+makedepends=('scons' 'boost' 'asio')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver//./-}.tar.bz2
+ http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver//./-}c_patch.diff)
+md5sums=('fcfd6b65724d32dfe383df216d7afb74'
+ '981cd26709f97cdf85100b720290177f')
+
+build() {
+ cd VDrift
+
+ # select arch
+ if [ `uname -m` = "x86_64" ]; then
+ _sconsarch="a64"
+ else
+ _sconsarch="686"
+ fi
+
+ patch -Np0 < $srcdir/$pkgname-${pkgver//./-}c_patch.diff
+
+ # build and install
+ scons $MAKEFLAGS \
+ "destdir"="$pkgdir" \
+ "arch"=$_sconsarch \
+ "release"=1 \
+ "force_feedback"=1 \
+ "prefix"=/usr \
+ "datadir"=share/$pkgname/ \
+ "extbullet"=1
+}
+
+package() {
+ cd VDrift
+
+ scons install
+
+ # install .desktop file
+ install -Dm644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
+ sed -i '1 s/^\xef\xbb\xbf//' "$pkgdir"/usr/share/applications/$pkgname.desktop # remove BOM (WHY IS THERE?)
+
+ # install icons
+ install -Dm644 data/textures/icons/vdrift-16x16.png "$pkgdir"/usr/share/icons/hicolor/16x16/apps/vdrift.png
+ install -Dm644 data/textures/icons/vdrift-32x32.png "$pkgdir"/usr/share/icons/hicolor/32x32/apps/vdrift.png
+ install -Dm644 data/textures/icons/vdrift-64x64.png "$pkgdir"/usr/share/icons/hicolor/64x64/apps/vdrift.png
+ install -Dm644 data/textures/icons/vdrift-64x64.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
+
+ rm -r "$pkgdir"/usr/share/vdrift
+}
+# vim: sw=2:ts=2 et:
diff --git a/community-staging/vdrift/vdrift.install b/community-staging/vdrift/vdrift.install
new file mode 100644
index 000000000..868f6717b
--- /dev/null
+++ b/community-staging/vdrift/vdrift.install
@@ -0,0 +1,11 @@
+post_upgrade() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}