summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-15 01:46:35 -0800
committerroot <root@rshg054.dnsready.net>2012-11-15 01:46:35 -0800
commit2264379d37a6a00a3ecec1fd03c5dd4796078d49 (patch)
treec7d44781aab3d74058a981f8e9035eee06f8f5bc /community
parent6fa5f08247aef1f757f376ef12bd4a6257c124f2 (diff)
Thu Nov 15 01:46:22 PST 2012
Diffstat (limited to 'community')
-rw-r--r--community/cgminer/PKGBUILD56
-rw-r--r--community/cgminer/cgminer51
-rw-r--r--community/cgminer/cgminer.conf.d11
-rw-r--r--community/cgminer/cgminer.service8
-rw-r--r--community/esdl/PKGBUILD12
-rw-r--r--community/go/PKGBUILD20
-rw-r--r--community/gpg-crypter/PKGBUILD33
-rw-r--r--community/gpg-crypter/gpg-crypter.changelog2
-rw-r--r--community/klavaro/PKGBUILD4
-rw-r--r--community/libpng12/PKGBUILD50
-rw-r--r--community/mod_wsgi/PKGBUILD33
-rw-r--r--community/opencc/PKGBUILD25
-rw-r--r--community/qmmp/PKGBUILD6
-rw-r--r--community/qmmp/qmmp.changelog3
14 files changed, 262 insertions, 52 deletions
diff --git a/community/cgminer/PKGBUILD b/community/cgminer/PKGBUILD
new file mode 100644
index 000000000..f1bcc82c3
--- /dev/null
+++ b/community/cgminer/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: monson <holymonson@gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: David Manouchehri <david@davidmanouchehri.com>
+
+pkgname=cgminer
+pkgver=2.9.3
+_build=
+pkgrel=1
+pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer."
+url='http://forum.bitcoin.org/index.php?topic=28402.0'
+license=('GPL3')
+arch=('i686' 'x86_64')
+depends=('curl' 'libcl')
+makedepends=('opencl-headers')
+optdepends=('opencl-nvidia: OpenCL implementation for NVIDIA' \
+ 'intel-opencl-sdk: OpenCL implementation for Intel' \
+ 'amdstream: OpenCL implementation for AMD')
+source=("http://ck.kolivas.org/apps/cgminer/$pkgname-$pkgver.tar.bz2"
+ "$pkgname.conf.d"
+ "$pkgname"
+ "$pkgname.service")
+backup=("etc/conf.d/$pkgname" "etc/$pkgname.conf")
+
+[ $CARCH == 'x86_64' ] && makedepends+=('yasm')
+
+build() {
+ cd "$srcdir"
+ cd $pkgname-$pkgver${_build}
+
+ # Use in-tree jansson since it is not compatible with jansson 2.0
+ #sed -e 's/^AC_CHECK_LIB(jansson, json_loads, request_jansson=false, request_jansson=true)$/request_jansson=true/' -i configure.ac
+
+ # Here you may want to use custom CFLAGS
+ #export CFLAGS="-O2 -march=native -mtune=native -msse2"
+
+ ./configure --prefix=/usr --enable-cpumining
+
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver${_build}
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm755 "$srcdir"/$pkgname "$pkgdir"/etc/rc.d/$pkgname
+ install -Dm644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service
+ install -Dm644 "$srcdir"/$pkgname.conf.d "$pkgdir"/etc/conf.d/$pkgname
+ sed 's#/usr/local/bin#/usr/bin#g' example.conf > $pkgname.conf
+ install -Dm644 $pkgname.conf "$pkgdir"/etc/$pkgname.conf
+}
+md5sums=('f386036c72861f7b2c130de6ed990d33'
+ 'fe4a243fabe24608f5c05e40f0f118f6'
+ 'ee39698273671fee0e98d4af16014c36'
+ 'c2bb974adf92cc234fbf0136ebcb355d')
diff --git a/community/cgminer/cgminer b/community/cgminer/cgminer
new file mode 100644
index 000000000..9081e8e77
--- /dev/null
+++ b/community/cgminer/cgminer
@@ -0,0 +1,51 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+DAEMON=cgminer
+
+# stupid patch var
+export HOME=/root
+
+[ -r /etc/conf.d/$DAEMON ] && . /etc/conf.d/$DAEMON
+
+if [ -r $CGMINER_CONF ]; then
+ ARGS="--config $CGMINER_CONF $CGMINER_ARGS"
+else
+ ARGS="--url $CGMINER_PROTOCOL://$CGMINER_IP:$CGMINER_PORT --user $CGMINER_USER --pass $CGMINER_PASS $CGMINER_ARGS"
+fi
+
+PID=$(get_pid $DAEMON)
+
+case "$1" in
+ start)
+ stat_busy "Starting $DAEMON"
+ [ -z "$PID" ] && $DAEMON $ARGS &>/dev/null &
+ if [ $? = 0 ]; then
+ add_daemon $DAEMON
+ stat_done
+ else
+ stat_fail
+ exit 1
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping $DAEMON"
+ [ -n "$PID" ] && kill $PID &>/dev/null
+ if [ $? = 0 ]; then
+ rm_daemon $DAEMON
+ stat_done
+ else
+ stat_fail
+ exit 1
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
diff --git a/community/cgminer/cgminer.conf.d b/community/cgminer/cgminer.conf.d
new file mode 100644
index 000000000..88ec535d6
--- /dev/null
+++ b/community/cgminer/cgminer.conf.d
@@ -0,0 +1,11 @@
+# Use JSON-format configuration. (recommended)
+CGMINER_CONF="/etc/cgminer.conf"
+
+# Uncommend this if you prefer simple command-line arguments.
+#CGMINER_CONF=""
+#CGMINER_PROTOCOL="http"
+#CGMINER_IP="127.0.0.1"
+#CGMINER_PORT="8332"
+#CGMINER_USER="username"
+#CGMINER_PASS="password"
+CGMINER_ARGS="--syslog"
diff --git a/community/cgminer/cgminer.service b/community/cgminer/cgminer.service
new file mode 100644
index 000000000..9d6595047
--- /dev/null
+++ b/community/cgminer/cgminer.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Multi-threaded multi-pool CPU and GPU miner for bitcoin
+
+[Service]
+ExecStart=/usr/bin/cgminer -T --config /etc/cgminer.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/community/esdl/PKGBUILD b/community/esdl/PKGBUILD
index 83132ae56..8b03ebb5e 100644
--- a/community/esdl/PKGBUILD
+++ b/community/esdl/PKGBUILD
@@ -4,16 +4,16 @@
pkgname=esdl
pkgver=1.2
-pkgrel=2
+pkgrel=3
epoch=2
arch=('x86_64' 'i686')
-pkgdesc="SDL and OpenGL bindings for the Erlang programming language"
-url="http://esdl.sourceforge.net/"
+pkgdesc='SDL and OpenGL bindings for Erlang'
+url='http://esdl.sourceforge.net/'
license=('custom')
depends=('erlang' 'sdl' 'glu')
-source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/esdl/tarball/master")
-md5sums=('d51f8e2fe07b9e82ff9c2e06af35e3eb')
-_dirname='dgud-esdl-4139134'
+source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/esdl/tar.gz/dgud/r15b-driver-compat")
+sha256sums=('a14d695229b93401a304b773874e87c02c5b304d4b5b66f35cba75e140672086')
+_dirname="$pkgname-dgud-r15b-driver-compat"
build() {
cd "$srcdir/$_dirname"
diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD
index d57e9373a..5e2afb2e5 100644
--- a/community/go/PKGBUILD
+++ b/community/go/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 77818 2012-10-15 00:41:07Z arodseth $
+# $Id: PKGBUILD 79946 2012-11-15 01:53:41Z arodseth $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
@@ -10,7 +10,7 @@
pkgname=go
pkgver=1.0.3
-pkgrel=2
+pkgrel=3
epoch=2
pkgdesc='Google Go compiler and tools'
arch=('x86_64' 'i686')
@@ -27,6 +27,8 @@ sha256sums=('7fba3533d172f13629d3d8a79e57c620632b0bd075abe11d7698b338be0ae3df'
'a03db71d323ed2794123bb31b5c8ad5febd551c490b5c0b341052c8e5f0ba892')
build() {
+ cd $srcdir/$pkgname
+
if [ "$CARCH" == 'x86_64' ]; then
export GOARCH=amd64
fi
@@ -34,18 +36,26 @@ build() {
export GOARCH=386
fi
- # Set GOARCH to arm for crosscompilation (currently doesn't work)
-
- cd $srcdir/$pkgname
export GOROOT_FINAL=/usr/lib/go
export GOOS=linux
cd src
bash make.bash
+
+ # Enable ARM crosscompilation
+ export GOARCH=arm
+ bash make.bash
}
check() {
cd $srcdir/$pkgname
+ if [ "$CARCH" == 'x86_64' ]; then
+ export GOARCH=amd64
+ fi
+ if [ "$CARCH" == 'i686' ]; then
+ export GOARCH=386
+ fi
+
export GOROOT=$srcdir/$pkgname
export PATH=$srcdir/$pkgname/bin:$PATH
diff --git a/community/gpg-crypter/PKGBUILD b/community/gpg-crypter/PKGBUILD
index b8b49c4ce..182a33e79 100644
--- a/community/gpg-crypter/PKGBUILD
+++ b/community/gpg-crypter/PKGBUILD
@@ -1,26 +1,24 @@
-# $Id: PKGBUILD 67947 2012-03-16 11:29:44Z giovanni $
+# $Id: PKGBUILD 79925 2012-11-14 19:52:32Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: lp76 <l.peduto@gmail.com>
pkgname=gpg-crypter
-pkgver=0.3.5
-pkgrel=5
-pkgdesc="A graphical front-end to GnuPG(GPG) using the GTK2 toolkit and libgpgme"
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="A graphical front-end to GnuPG(GPG) using the GTK3 toolkit and libgpgme"
arch=('i686' 'x86_64')
url="http://gpg-crypter.sourceforge.net/"
-license=('GPL')
-depends=('gtk2' 'gpgme')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
- $pkgname.desktop)
-md5sums=('be33140ae205b8a3f37217c1c2c0737a'
- 'a2a226ff44eb02cdab7bee46864dea6d')
+license=('GPL2')
+depends=('gtk3' 'gpgme')
+makedepends=('intltool')
+changelog=$pkgname.changelog
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('1f7e2b27bf4a27ecbb07bce9cd40d1c08477a3bd065ba7d1a75d1732e4bdc023')
build() {
cd ${srcdir}/$pkgname-$pkgver
- export CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-
./configure --prefix=/usr
make
}
@@ -29,15 +27,4 @@ package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
-
-# icon
- install -Dm644 ${srcdir}/$pkgname-$pkgver/pixmaps/$pkgname.png \
- ${pkgdir}/usr/share/pixmaps/$pkgname.png
-
-# .desktop file
- install -Dm644 ${srcdir}/$pkgname.desktop \
- ${pkgdir}/usr/share/applications/$pkgname.desktop
-
-# delete unneeded icon
- rm -rf ${pkgdir}/usr/share/$pkgname
}
diff --git a/community/gpg-crypter/gpg-crypter.changelog b/community/gpg-crypter/gpg-crypter.changelog
new file mode 100644
index 000000000..a56f276cc
--- /dev/null
+++ b/community/gpg-crypter/gpg-crypter.changelog
@@ -0,0 +1,2 @@
+2012-11-14 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * gpg-crypter 0.4.1-1
diff --git a/community/klavaro/PKGBUILD b/community/klavaro/PKGBUILD
index 946bd220c..31f5a771f 100644
--- a/community/klavaro/PKGBUILD
+++ b/community/klavaro/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 73539 2012-07-09 10:19:45Z spupykin $
+# $Id: PKGBUILD 79909 2012-11-14 16:40:39Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=klavaro
pkgver=1.9.5
-pkgrel=2
+pkgrel=3
pkgdesc="Free touch typing tutor program"
arch=('i686' 'x86_64')
url="http://klavaro.sourceforge.net/"
diff --git a/community/libpng12/PKGBUILD b/community/libpng12/PKGBUILD
new file mode 100644
index 000000000..968cd9123
--- /dev/null
+++ b/community/libpng12/PKGBUILD
@@ -0,0 +1,50 @@
+# $Id: PKGBUILD 79866 2012-11-14 07:22:13Z dwallace $
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: dorphell <archlinux.org: dorphell>
+# Contributor: Travis Willard <archlinux.org: travis>
+# Contributor: Douglas Soares de Andrade <archlinux.org: douglas>
+# Contributor: Jesse Jaara <gmail.com: jesse.jaara>
+
+pkgname=libpng12
+_realname=libpng
+pkgver=1.2.50
+pkgrel=2
+pkgdesc="A collection of routines used to create PNG format graphics files"
+arch=('i686' 'x86_64')
+url="http://www.libpng.org/pub/png/libpng.html"
+license=('custom')
+depends=('zlib')
+options=('!libtool')
+source=("http://sourceforge.net/projects/libpng/files/libpng-${pkgver}.tar.xz"
+ "http://sourceforge.net/projects/apng/files/libpng/libpng12/libpng-${pkgver}-apng.patch.gz")
+
+build() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+
+ patch -Np0 -i "${srcdir}/libpng-${pkgver}-apng.patch"
+
+ libtoolize --force --copy
+ aclocal
+ autoconf
+ automake --add-missing
+
+ ./configure --prefix=/usr
+
+ make ECHO=echo
+}
+
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+
+ make ECHO=echo DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}/usr/share"
+ rm -rf "${pkgdir}/usr/bin/libpng-config"
+ rm -rf "${pkgdir}/usr/lib/"{libpng.so,libpng.a}
+ rm -fr "${pkgdir}/usr/lib/pkgconfig/libpng.pc"
+ rm -rf "${pkgdir}/usr/include/"{pngconf.h,png.h}
+
+}
+
+md5sums=('a3e00fccbfe356174ab515b5c00641c7'
+ 'b06ac3f6a6f982abc2036359665e82a9')
diff --git a/community/mod_wsgi/PKGBUILD b/community/mod_wsgi/PKGBUILD
index 36445ed53..22c403936 100644
--- a/community/mod_wsgi/PKGBUILD
+++ b/community/mod_wsgi/PKGBUILD
@@ -1,28 +1,35 @@
-# $Id: PKGBUILD 79816 2012-11-13 07:48:03Z eric $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# $Id: PKGBUILD 79940 2012-11-15 00:36:52Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Ryan Coyner <rcoyner@gmail.com>
pkgname=mod_wsgi
pkgver=3.4
-pkgrel=1
-pkgdesc="Python WSGI adapter module for Apache"
-arch=('i686' 'x86_64')
-url="http://www.modwsgi.org/"
+pkgrel=2
+pkgdesc='Python WSGI adapter module for Apache'
+arch=('x86_64' 'i686')
+url='http://www.modwsgi.org/'
license=('APACHE')
-depends=('apache' 'python2')
+depends=('apache' 'python')
+makedepends=('setconf')
install=mod_wsgi.install
-source=("http://modwsgi.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
-md5sums=('f42d69190ea0c337ef259cbe8d94d985')
+source=("http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz")
+sha256sums=('ae85c98e9e146840ab3c3e4490e6774f9bef0f99b9f679fca786b2adb5b4b6e8')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$srcdir/$pkgbase-$pkgver"
+
./configure --prefix=/usr \
--with-apxs=/usr/sbin/apxs \
- --with-python=/usr/bin/python2
+ --with-python=/usr/bin/python
+ setconf Makefile LDLIBS '-lpython3 -lpthread -ldl -lutil -lm'
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ cd "$srcdir/$pkgbase-$pkgver"
+
+ make DESTDIR="$pkgdir" install
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/opencc/PKGBUILD b/community/opencc/PKGBUILD
new file mode 100644
index 000000000..ae94dce10
--- /dev/null
+++ b/community/opencc/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 79884 2012-11-14 13:43:08Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=opencc
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Library for Open Chinese Convert"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/opencc/"
+license=('Apache')
+depends=('glibc')
+makedepends=('cmake')
+source=("http://opencc.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('84462870e5d491da24bb33a5fb494911')
diff --git a/community/qmmp/PKGBUILD b/community/qmmp/PKGBUILD
index f1cc5061a..83207b2a3 100644
--- a/community/qmmp/PKGBUILD
+++ b/community/qmmp/PKGBUILD
@@ -1,8 +1,8 @@
-#$Id: PKGBUILD 75532 2012-08-26 20:15:34Z jlichtblau $
+#$Id: PKGBUILD 79921 2012-11-14 19:18:29Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=qmmp
-pkgver=0.6.3
+pkgver=0.6.4
pkgrel=1
pkgdesc="Qt4 based audio-player"
arch=('i686' 'x86_64')
@@ -22,7 +22,7 @@ optdepends=('flac: native FLAC support'
'ffmpeg' 'libsamplerate' 'wavpack')
install=$pkgname.install
source=(http://qmmp.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2)
-sha256sums=('98f5b8121d475ead81c788ec9d5346c8da537e342c0d99eaff08586af4c92ca8')
+sha256sums=('3db8a38da74ed4a8551c9215f4984f83831d5a4602e1daaf42fcb48313a73372')
build() {
cd ${srcdir}/$pkgname-$pkgver
diff --git a/community/qmmp/qmmp.changelog b/community/qmmp/qmmp.changelog
index 5d80b8321..4d1e9351a 100644
--- a/community/qmmp/qmmp.changelog
+++ b/community/qmmp/qmmp.changelog
@@ -1,3 +1,6 @@
+2012-11-14 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * qmmp 0.6.4-1
+
2012-08-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* qmmp 0.6.3-1