summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-12-22 14:43:23 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-12-22 14:43:23 +0100
commit3b30c085e730e8452d7d551b09ca2606461ebd40 (patch)
tree32342c8a26f632603bd1390e5d61f954832f3005 /community
parentd7efdd401d2ce7e0862ec5bb66002f11def0a205 (diff)
parent0f92922979ec1f52c580079a4a49a7dc84af4ca1 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Diffstat (limited to 'community')
-rw-r--r--community/fbterm/PKGBUILD32
-rw-r--r--community/fbterm/fbterm.install22
-rw-r--r--community/fcitx-fbterm/PKGBUILD34
-rw-r--r--community/fcitx-fbterm/fcitx-fbterm.install16
-rw-r--r--community/fcitx-mozc/PKGBUILD100
-rw-r--r--community/golangide/PKGBUILD72
-rw-r--r--community/golangide/golangide.sh5
-rw-r--r--community/libtxc_dxtn/PKGBUILD32
-rw-r--r--community/pidgin-lwqq/0.1a_fix.patch12
-rw-r--r--community/pidgin-lwqq/PKGBUILD38
-rw-r--r--community/pidgin-lwqq/pidgin-lwqq.install11
-rw-r--r--community/python2-xapian/PKGBUILD35
-rw-r--r--community/rtl-sdr/PKGBUILD6
13 files changed, 374 insertions, 41 deletions
diff --git a/community/fbterm/PKGBUILD b/community/fbterm/PKGBUILD
new file mode 100644
index 000000000..d2ebdb0d7
--- /dev/null
+++ b/community/fbterm/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 81466 2012-12-21 12:36:51Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: noonov <noonov@gmail.com>
+
+pkgname=fbterm
+pkgver=1.7.0
+pkgrel=5
+pkgdesc="A fast terminal emulator for linux with frame buffer device or VESA video card"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/fbterm/"
+license=('GPL2')
+depends=('gcc-libs' 'fontconfig')
+optdepends=('libx86: for VESA video card support')
+install=fbterm.install
+source=("http://fbterm.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver%.?}"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver%.?}"
+
+ install -Dm644 terminfo/fbterm "${pkgdir}/usr/share/terminfo/f/fbterm"
+
+ make DESTDIR="${pkgdir}" TERMINFO="${pkgdir}/usr/share/terminfo" install
+}
+
+md5sums=('c36bae75a450df0519b4527cccaf7572')
diff --git a/community/fbterm/fbterm.install b/community/fbterm/fbterm.install
new file mode 100644
index 000000000..9b4d7ebd1
--- /dev/null
+++ b/community/fbterm/fbterm.install
@@ -0,0 +1,22 @@
+post_install() {
+ cat <<EOF
+
+==> To run fbterm as a non-root user, do:
+
+sudo gpasswd -a YOUR_USERNAME video
+
+
+==> To enable keyboard shortcuts for non-root users, do:
+
+sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm
+
+or
+
+sudo chmod u+s /usr/bin/fbterm
+
+EOF
+}
+
+post_upgrade() {
+ post_install $1
+}
diff --git a/community/fcitx-fbterm/PKGBUILD b/community/fcitx-fbterm/PKGBUILD
new file mode 100644
index 000000000..127ac3897
--- /dev/null
+++ b/community/fcitx-fbterm/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Author: CSSlayer <wengxt@gmail.com>
+# Contributor: Yangtse <yangtsesu@gmail.com>
+
+pkgname=fcitx-fbterm
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="Fbterm support for Fcitx."
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/fcitx"
+license=('GPL2')
+depends=('fcitx>=4.1.0' 'fbterm')
+makedepends=('cmake' 'intltool')
+source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
+install=fcitx-fbterm.install
+
+build(){
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ rm -rf build
+ mkdir build
+ cd build
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+ make
+}
+
+package ()
+{
+ cd "$srcdir/${pkgname}-${pkgver}/build"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('a7eb80fde3e0d1cab27e230c912849da')
diff --git a/community/fcitx-fbterm/fcitx-fbterm.install b/community/fcitx-fbterm/fcitx-fbterm.install
new file mode 100644
index 000000000..cca516725
--- /dev/null
+++ b/community/fcitx-fbterm/fcitx-fbterm.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo "$ sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm"
+ echo "or"
+ echo "$ sudo chmod u+s /usr/bin/fbterm"
+
+ echo "Do above once,Then launch fbterm with fcitx"
+ echo "$ fcitx-fbterm-helper -l"
+}
+post_upgrade() {
+ echo "$ sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm"
+ echo "or"
+ echo "$ sudo chmod u+s /usr/bin/fbterm"
+
+ echo "Do above once,Then launch fbterm with fcitx"
+ echo "$ fcitx-fbterm-helper -l"
+}
diff --git a/community/fcitx-mozc/PKGBUILD b/community/fcitx-mozc/PKGBUILD
new file mode 100644
index 000000000..cd1413842
--- /dev/null
+++ b/community/fcitx-mozc/PKGBUILD
@@ -0,0 +1,100 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
+
+## Mozc compile option
+_bldtype=Release
+
+_zipcoderel=201208
+_protobuf_ver=2.4.1
+
+_pkgbase=mozc
+pkgname=fcitx-mozc
+pkgdesc="Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)"
+pkgver=1.6.1187.102
+_patchver=${pkgver}.2
+pkgrel=3
+groups=('mozc-im')
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/mozc/"
+license=('custom')
+depends=('qt' 'fcitx' 'zinnia')
+makedepends=('pkg-config' 'python2' 'gtest' 'qt' 'curl' 'fcitx' 'gtk2')
+replaces=('mozc' 'mozc-server' 'mozc-utils-gui' 'mozc-fcitx')
+conflicts=('mozc' 'mozc-server' 'mozc-utils-gui' 'mozc-fcitx')
+source=(http://mozc.googlecode.com/files/mozc-${pkgver}.tar.bz2
+ http://downloads.sourceforge.net/pnsft-aur/ken_all-${_zipcoderel}.zip
+ http://downloads.sourceforge.net/pnsft-aur/jigyosyo-${_zipcoderel}.zip
+ http://protobuf.googlecode.com/files/protobuf-${_protobuf_ver}.tar.bz2
+ http://fcitx.googlecode.com/files/fcitx-mozc-${_patchver}.patch
+)
+
+build() {
+ cd "$srcdir"
+ ln -sf `which python2` ./python
+ PATH="${srcdir}:${PATH}"
+
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+
+ rm unix/fcitx -rf
+ patch -Np2 -i ${srcdir}/fcitx-mozc-${_patchver}.patch
+
+ # Generate zip code seed
+ msg "Generating zip code seed..."
+ python2 dictionary/gen_zip_code_seed.py --zip_code="${srcdir}/KEN_ALL.CSV" --jigyosyo="${srcdir}/JIGYOSYO.CSV" >> data/dictionary_oss/dictionary09.txt
+ msg "Done."
+
+ # Copy protobuf to be linked statically
+ cp -rf "${srcdir}/protobuf-${_protobuf_ver}" protobuf/files
+
+ msg "Starting make..."
+
+ _targets="server/server.gyp:mozc_server gui/gui.gyp:mozc_tool unix/fcitx/fcitx.gyp:fcitx-mozc"
+ _qmnames="qmake-qt4 qmake4 qmake"
+
+ QTDIR=/usr python2 build_mozc.py gyp --channel_dev=0
+ python2 build_mozc.py build_tools -c $_bldtype
+ python2 build_mozc.py build -c $_bldtype $_targets
+
+ # Extract license part of mozc
+ head -n 28 server/mozc_server.cc > LICENSE
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ install -D -m 755 out_linux/${_bldtype}/mozc_server "${pkgdir}/usr/lib/mozc/mozc_server"
+ install -m 755 out_linux/${_bldtype}/mozc_tool "${pkgdir}/usr/lib/mozc/mozc_tool"
+ install -d "${pkgdir}/usr/lib/mozc/documents/"
+ install -m 644 data/installer/*.html "${pkgdir}/usr/lib/mozc/documents/"
+
+ install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ for mofile in out_linux/${_bldtype}/obj/gen/unix/fcitx/po/*.mo
+ do
+ filename=`basename $mofile`
+ lang=${filename/.mo/}
+ install -D -m 644 "$mofile" "${pkgdir}/usr/share/locale/$lang/LC_MESSAGES/fcitx-mozc.mo"
+ done
+
+ install -D -m 755 out_linux/${_bldtype}/fcitx-mozc.so "${pkgdir}/usr/lib/fcitx/fcitx-mozc.so"
+ install -D -m 644 unix/fcitx/fcitx-mozc.conf "${pkgdir}/usr/share/fcitx/addon/fcitx-mozc.conf"
+ install -D -m 644 unix/fcitx/mozc.conf "${pkgdir}/usr/share/fcitx/inputmethod/mozc.conf"
+
+ install -d "${pkgdir}/usr/share/fcitx/mozc/icon"
+ install -m 644 data/images/product_icon_32bpp-128.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc.png"
+ install -m 644 data/images/unix/ui-alpha_full.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-alpha_full.png"
+ install -m 644 data/images/unix/ui-alpha_half.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-alpha_half.png"
+ install -m 644 data/images/unix/ui-direct.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-direct.png"
+ install -m 644 data/images/unix/ui-hiragana.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-hiragana.png"
+ install -m 644 data/images/unix/ui-katakana_full.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-katakana_full.png"
+ install -m 644 data/images/unix/ui-katakana_half.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-katakana_half.png"
+ install -m 644 data/images/unix/ui-dictionary.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-dictionary.png"
+ install -m 644 data/images/unix/ui-properties.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-properties.png"
+ install -m 644 data/images/unix/ui-tool.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-tool.png"
+}
+
+md5sums=('e5246d17a81d2e942e9e8de0c3240c95'
+ 'd1df91ca1fc0cf2b0ffe4eb4ddcf09ca'
+ '0f7eff544b256eb643ef309678742e09'
+ 'ed436802019c9e1f40cc750eaf78f318'
+ 'a70fa7d5cef505c14f61e739b0502444')
diff --git a/community/golangide/PKGBUILD b/community/golangide/PKGBUILD
index f034f60c8..81aee4a30 100644
--- a/community/golangide/PKGBUILD
+++ b/community/golangide/PKGBUILD
@@ -1,4 +1,4 @@
-#$Id: PKGBUILD 81406 2012-12-19 18:29:25Z arodseth $
+#$Id: PKGBUILD 81475 2012-12-21 17:01:26Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: spambanane <happy.house@gmx.de>
# Contributor: Matteo <matteo.dek@gmail.com>
@@ -6,78 +6,78 @@
pkgname=golangide
pkgver=15
pkgrel=1
-_hgrev=1011
-pkgdesc='Simple IDE for Go to edit code and build projects'
+pkgdesc='IDE for editing and building projects written in the Go programming language'
license=('LGPL')
arch=('x86_64' 'i686')
url='https://github.com/visualfc/liteide'
-depends=('go' 'libpng12' 'glib2')
+depends=('go' 'libpng12' 'glib2' 'qt' 'qjson' 'qtwebkit')
makedepends=('gendesk')
options=('!strip')
_name=('Golang IDE')
-_genericname=('Integrated development environment')
-
-if [ "$CARCH" == "x86_64" ]; then
- source=("http://$pkgname.googlecode.com/files/liteidex${pkgver}.linux-amd64.hg${_hgrev}.tar.bz2"
- 'golangide.png'
- 'golangide.sh')
- sha256sums=('cb024050d1b41533c91722c005d08e99834585c3826e0b62cb55ec672b48f519'
- '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697'
- '79eaede6c031e87a94627fb126a0aefab1feb971995d648436f142b3d684f1b2')
-else
- source=("http://$pkgname.googlecode.com/files/liteidex${pkgver}.linux-386.hg${_hgrev}.tar.bz2"
- 'golangide.png'
- 'golangide.sh')
- sha256sums=('b41d9be3935524f38a3c8ba9db1014412e0daf7d57e2b8c2bee1de4572b67d18'
+source=("$pkgname.tgz::https://nodeload.github.com/visualfc/liteide/tar.gz/master"
+ 'golangide.png'
+ 'golangide.sh')
+sha256sums=('23158d09d5d3c439a07d12532dc8cdbc963c65dde1739f2e19b611a7d2f8944e'
'47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697'
- '79eaede6c031e87a94627fb126a0aefab1feb971995d648436f142b3d684f1b2')
-fi
+ '9b1844a1e3a611760c2d2072b539cca0d2eed1584e1bf04a7fdd8d171e3cd775')
build() {
cd "$srcdir"
+
+ msg2 'Generating .desktop file'
gendesk -n
- cd "liteide"
- # Fixing insecure RPATH
+ msg2 'Compiling...'
+ cd "liteide-master/build"
+ chmod +x build_linux.sh webkit_linux.sh
+ QTDIR=/usr ./build_linux.sh
+ QTDIR=/usr ./webkit_linux.sh
+
+ # Fixing insecure RPATH, need to test if this is still needed
+ msg2 'Fixing...'
+ cd "../liteidex"
find . -name "*.so" -type f -exec sed -i 's|/home/win|/usr/lib/|g' {} \;
find . -name liteide -type f -exec sed -i 's|/home/win|/usr/lib/|g' {} \;
}
package() {
- cd "$srcdir/liteide"
+ cd "$srcdir/liteide-master/liteidex"
- msg2 "Creating directories..."
+ msg2 'Creating directories...'
mkdir -p "$pkgdir/usr/lib/liteide"
mkdir -p "$pkgdir/usr/share/liteide"
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
- msg2 "Packaging executables..."
- for binary in goastview goapi goexec godocview liteide; do
+ msg2 'Packaging executables...'
+ for binary in goastview goapi goexec godocview liteidex; do
install -Dm755 "bin/$binary" "$pkgdir/usr/bin/$binary"
done
install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
- msg2 "Packaging resources..."
- cp -r share/liteide/* "$pkgdir/usr/share/liteide"
+ msg2 'Packaging resources...'
+ cp -r deploy/* "$pkgdir/usr/share/liteide"
+ cp -r os_deploy/* "$pkgdir/usr/share/liteide"
- msg2 "Packaging libraries and plugins..."
- cp -r lib/liteide/* "$pkgdir/usr/lib/liteide"
+ msg2 'Packaging libraries and plugins...'
+ cp -r liteide/lib/liteide/* "$pkgdir/usr/lib/liteide"
+ cp -r liteide/bin/libliteapp.* "$pkgdir/usr/lib/"
+ chmod -x "$pkgdir/usr/lib/liteide/plugins/"*
- msg2 "Packaging license and license exception..."
+ msg2 'Packaging license and license exception...'
install -Dm644 LICENSE.LGPL \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE.LGPL"
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 LGPL_EXCEPTION.TXT \
- "$pkgdir/usr/share/licenses/$pkgname/LGPL_EXCEPTION.TXT"
+ "$pkgdir/usr/share/licenses/$pkgname/LGPL_EXCEPTION"
- cd ..
+ cd ../..
- msg2 "Packaging menu entry and icon..."
+ msg2 'Packaging menu entry and icon...'
install -Dm644 "$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "$pkgname.png" \
"$pkgdir/usr/share/pixmaps/$pkgname.png"
- msg2 "Cleaning up..."
+ msg2 'Cleaning up...'
rm -rf "$pkgdir/usr/share/$pkgname/doc"
}
diff --git a/community/golangide/golangide.sh b/community/golangide/golangide.sh
index 824126c45..70705e5f3 100644
--- a/community/golangide/golangide.sh
+++ b/community/golangide/golangide.sh
@@ -1,6 +1,7 @@
#!/bin/sh
+# The libqjson issue has been reported upstream
if [ ! -z $GOROOT -a -e $GOROOT ]; then
- /usr/bin/liteide $@
+ LD_PRELOAD=/usr/lib/libqjson.so /usr/bin/liteidex $@
else
- GOROOT=/usr/lib/go /usr/bin/liteide $@
+ GOROOT=/usr/lib/go LD_PRELOAD=/usr/lib/libqjson.so /usr/bin/liteidex $@
fi
diff --git a/community/libtxc_dxtn/PKGBUILD b/community/libtxc_dxtn/PKGBUILD
new file mode 100644
index 000000000..33f7bf0fa
--- /dev/null
+++ b/community/libtxc_dxtn/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 81456 2012-12-21 10:04:07Z lcarlier $
+# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
+
+pkgname=libtxc_dxtn
+pkgver=1.0.1
+pkgrel=3
+arch=(i686 x86_64)
+pkgdesc="Texture compression library for Mesa"
+url="http://dri.freedesktop.org/wiki/S3TC"
+license=(custom:BSD)
+depends=(mesa)
+options=(!libtool)
+source=(http://people.freedesktop.org/~cbrill/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('7105107f07ac49753f4b61ba9d0c79c5')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # License
+ mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
+ sed -n '5,22{s|^ \* \?||;p}' txc_dxtn.h \
+ > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/community/pidgin-lwqq/0.1a_fix.patch b/community/pidgin-lwqq/0.1a_fix.patch
new file mode 100644
index 000000000..63f2adfd0
--- /dev/null
+++ b/community/pidgin-lwqq/0.1a_fix.patch
@@ -0,0 +1,12 @@
+--- a/src/liblwqq/http.c
++++ b/src/liblwqq/http.c
+@@ -515,7 +515,9 @@ static int multi_timer_cb(CURLM *multi, long timeout_ms, void *userp)
+ }
+ if(g->still_running){
+ lwqq_log(LOG_NOTICE,"still running:%d,timeout:%ld\n",g->still_running,timeout_ms);
++ #if USE_DEBUG
+ if(g->still_running>1)lwqq_gdb_whats_running();
++ #endif
+ }
+ //close time clock
+ //this should always return 0 this is curl!!
diff --git a/community/pidgin-lwqq/PKGBUILD b/community/pidgin-lwqq/PKGBUILD
new file mode 100644
index 000000000..c6280985b
--- /dev/null
+++ b/community/pidgin-lwqq/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 81454 2012-12-21 09:33:44Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=pidgin-lwqq
+pkgver=0.1a
+_pkgver=0.1-a
+pkgrel=2
+pkgdesc="A pidgin plugin based on lwqq, a excellent safe useful library for webqq protocol"
+arch=('i686' 'x86_64')
+url="https://github.com/xiehuc/pidgin-lwqq"
+license=('GPL3')
+depends=('libpurple' 'curl' 'libev' 'hicolor-icon-theme')
+optdepends=('telepathy-haze: Empathy plugin support')
+makedepends=('git' 'cmake')
+install=$pkgname.install
+source=("https://github.com/xiehuc/$pkgname/archive/${_pkgver}.tar.gz"
+ 0.1a_fix.patch)
+
+build()
+{
+ cd "${srcdir}/$pkgname-${_pkgver}"
+ patch -Np1 -i "$srcdir/0.1a_fix.patch"
+
+ rm -rf build
+ mkdir build
+ cd build
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_LIBEV=On ..
+ make
+}
+
+package()
+{
+ cd "$srcdir/$pkgname-${_pkgver}/build"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('d0efece1c2b2301f49c68f8a2b7bae95'
+ '18baf836e3a1198cdd9dbed287bf6609')
diff --git a/community/pidgin-lwqq/pidgin-lwqq.install b/community/pidgin-lwqq/pidgin-lwqq.install
new file mode 100644
index 000000000..c0797237a
--- /dev/null
+++ b/community/pidgin-lwqq/pidgin-lwqq.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/community/python2-xapian/PKGBUILD b/community/python2-xapian/PKGBUILD
new file mode 100644
index 000000000..c6e435a54
--- /dev/null
+++ b/community/python2-xapian/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 81458 2012-12-21 10:08:56Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: DonVla <donvla/users.sourceforge/net>
+# Contributor: Hervé Cauwelier <herve/oursours/net>
+
+pkgname=python2-xapian
+_realname=xapian-bindings
+pkgver=1.2.12
+pkgrel=1
+pkgdesc="Python bindings for Xapian"
+arch=(i686 x86_64)
+url="http://xapian.org/docs/bindings/python/"
+license=('GPL')
+groups=(xapian)
+depends=('python2' 'xapian-core')
+source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-$pkgver.tar.gz")
+
+build() {
+ cd "$srcdir/${_realname}-$pkgver"
+
+ ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \
+ --prefix=/usr --with-python \
+ PYTHON=/usr/bin/python2
+
+ make
+}
+
+
+package() {
+ cd "$srcdir/${_realname}-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+# vim:set ts=2 sw=2 et:
+md5sums=('9331d7885a68470184ba3d3e8c2b57d5')
diff --git a/community/rtl-sdr/PKGBUILD b/community/rtl-sdr/PKGBUILD
index 2cd445945..4750f11a3 100644
--- a/community/rtl-sdr/PKGBUILD
+++ b/community/rtl-sdr/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 81041 2012-12-10 21:47:51Z kkeen $
+# $Id: PKGBUILD 81477 2012-12-21 22:12:35Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Michael Düll <mail@akurei.me>
pkgname=rtl-sdr
-pkgver=20121210
-_commit="562fd7e8e3200fa876312e58427b3c9a7575d3fa"
+pkgver=20121221
+_commit="f2880e1de293ab357097499403b0c7b55cfb4586"
pkgrel=1
pkgdesc="Driver for Realtek RTL2832U, allowing general purpose software defined radio (SDR)."
arch=('i686' 'x86_64')