diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/fcitx-cloudpinyin/PKGBUILD | 30 | ||||
-rw-r--r-- | community/fcitx-configtool/PKGBUILD | 32 | ||||
-rw-r--r-- | community/kcm-fcitx/PKGBUILD | 31 | ||||
-rw-r--r-- | community/notify-osd/PKGBUILD | 34 | ||||
-rw-r--r-- | community/notify-osd/notify-osd.install | 12 | ||||
-rw-r--r-- | community/python2-gevent/PKGBUILD | 6 | ||||
-rw-r--r-- | community/python2-greenlet/PKGBUILD | 7 | ||||
-rw-r--r-- | community/rtl-sdr/PKGBUILD | 51 | ||||
-rw-r--r-- | community/sunpinyin/PKGBUILD | 78 |
9 files changed, 259 insertions, 22 deletions
diff --git a/community/fcitx-cloudpinyin/PKGBUILD b/community/fcitx-cloudpinyin/PKGBUILD new file mode 100644 index 000000000..dd9a95a52 --- /dev/null +++ b/community/fcitx-cloudpinyin/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 79682 2012-11-11 01:41:35Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: poplarch <poplarch@gmail.com> + +pkgname=fcitx-cloudpinyin +pkgver=0.3.0 +pkgrel=1 +pkgdesc="Standalone module for fcitx that uses pinyin API on the internet to provide additional input candidates" +arch=('i686' 'x86_64') +url="https://github.com/csslayer/fcitx-cloudpinyin" +license=('GPL') +depends=('curl' 'fcitx>=4.2.6') +makedepends=('cmake' 'intltool') +source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz) +md5sums=('8bffd65fe2172d61edde46ad53380150') + +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 +} diff --git a/community/fcitx-configtool/PKGBUILD b/community/fcitx-configtool/PKGBUILD new file mode 100644 index 000000000..636858d70 --- /dev/null +++ b/community/fcitx-configtool/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 79684 2012-11-11 01:45:13Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> + +pkgname=fcitx-configtool +pkgver=0.4.5.1 +pkgrel=1 +pkgdesc="GTK based config tool for Fcitx" +arch=('i686' 'x86_64') +url="http://fcitx.googlecode.com/" +license=('GPL2') +depends=("fcitx>=4.2.6" "gtk3" "iso-codes") +makedepends=(cmake) +source=(http://fcitx.googlecode.com/files/$pkgname-$pkgver.tar.xz) + +build() { + cd "$srcdir"/$pkgname-$pkgver + msg "Starting make..." + + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver/build + make DESTDIR="$pkgdir" install +} + +md5sums=('6787dedcb57e6147553ef755c51bb46b') diff --git a/community/kcm-fcitx/PKGBUILD b/community/kcm-fcitx/PKGBUILD new file mode 100644 index 000000000..c613b1c49 --- /dev/null +++ b/community/kcm-fcitx/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 79679 2012-11-11 01:36:26Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: poplarch <poplarch@gmail.com> + +pkgname=kcm-fcitx +pkgver=0.4.1 +pkgrel=1 +pkgdesc="KDE Config Module for Fcitx" +arch=('i686' 'x86_64') +url="https://github.com/fcitx/kcm-fcitx" +license=('GPL') +depends=('fcitx>=4.2.6' 'kdebase-runtime') +makedepends=('cmake' 'intltool' 'automoc4') +source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz) +md5sums=('1a2a9802edf6df79d3883c362ba487f0') + +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 +} diff --git a/community/notify-osd/PKGBUILD b/community/notify-osd/PKGBUILD new file mode 100644 index 000000000..431581ae0 --- /dev/null +++ b/community/notify-osd/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 79663 2012-11-10 19:03:29Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Johannes Pfau <johannespfau at gmail dot com> + +pkgname=notify-osd +pkgver=0.9.34 +pkgrel=1 +pkgdesc="Canonical's on-screen-display notification agent, implementing the freedesktop.org Desktop Notifications Specification with semi-transparent click-through bubbles" +arch=('i686' 'x86_64') +url="https://launchpad.net/notify-osd" +license=('GPL') +depends=('libwnck3' 'dbus-glib' 'dconf' 'gsettings-desktop-schemas') +makedepends=('libnotify') +provides=('notification-daemon') +install=$pkgname.install +source=(http://launchpad.net/$pkgname/precise/$pkgver/+download/$pkgname-$pkgver.tar.gz) +md5sums=('18d9a95467daac570789fb7893011595') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \ + --disable-static --disable-schemas-compile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + + # Remove readme file from non-standard location + rm "$pkgdir/usr/share/notify-osd/icons/hicolor/scalable/status/README" +} diff --git a/community/notify-osd/notify-osd.install b/community/notify-osd/notify-osd.install new file mode 100644 index 000000000..f8470c77c --- /dev/null +++ b/community/notify-osd/notify-osd.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + diff --git a/community/python2-gevent/PKGBUILD b/community/python2-gevent/PKGBUILD index c35d3ac2b..c1944be02 100644 --- a/community/python2-gevent/PKGBUILD +++ b/community/python2-gevent/PKGBUILD @@ -1,9 +1,10 @@ # $Id: PKGBUILD 70305 2012-05-04 08:21:08Z mtorromeo $ # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> +# Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: Ralf Schmitt <ralf@systemexit.de> pkgname=python2-gevent -pkgver=0.13.7 +pkgver=0.13.8 pkgrel=1 arch=('i686' 'x86_64') pkgdesc="Python network library that uses greenlet and libevent for easy and scalable concurrency" @@ -26,5 +27,4 @@ package() { install -Dm0644 LICENSE.pyevent "$pkgdir/usr/share/licenses/$pkgname/LICENSE.pyevent" } -md5sums=('c74004730c2543260b751b0aa782987c') -sha1sums=('2b9c63b84e21a36e244a7c825b9bdbaa98b7ec66') +md5sums=('ca9dcaa7880762d8ebbc266b11252960') diff --git a/community/python2-greenlet/PKGBUILD b/community/python2-greenlet/PKGBUILD index 38546a68d..d31643caa 100644 --- a/community/python2-greenlet/PKGBUILD +++ b/community/python2-greenlet/PKGBUILD @@ -1,9 +1,10 @@ # $Id: PKGBUILD 70305 2012-05-04 08:21:08Z mtorromeo $ # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> +# Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: Ralf Schmitt <ralf@systemexit.de> pkgname=python2-greenlet -pkgver=0.3.4 +pkgver=0.4.0 pkgrel=1 pkgdesc="python coroutine library" license=("MIT") @@ -12,9 +13,6 @@ depends=('python2') source=(http://pypi.python.org/packages/source/g/greenlet/greenlet-$pkgver.zip) arch=('i686' 'x86_64') -md5sums=('530a69acebbb0d66eb5abd83523d8272') -sha1sums=('1bff62c43e179d3f4866f31a8258a259c82b4803') - build() { cd "$srcdir/greenlet-$pkgver" python2 setup.py build @@ -25,3 +23,4 @@ package() { python2 setup.py install --root="$pkgdir" install -Dm0644 LICENSE.PSF "$pkgdir/usr/share/licenses/$pkgname/LICENSE.PSF" } +md5sums=('87887570082caadc08fb1f8671dbed71') diff --git a/community/rtl-sdr/PKGBUILD b/community/rtl-sdr/PKGBUILD new file mode 100644 index 000000000..e3f275021 --- /dev/null +++ b/community/rtl-sdr/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 79669 2012-11-11 00:11:08Z kkeen $ +# Maintainer: Kyle Keen <keenerd@gmail.com> +# Contributor: Michael Düll <mail@akurei.me> + +pkgname=rtl-sdr +pkgver=20121111 +_commit="58a53039db2fdbeedc661bccd35476dfa23ff6cf" +pkgrel=1 +pkgdesc="Driver for Realtek RTL2832U, allowing general purpose software defined radio (SDR)." +arch=('i686' 'x86_64') +url="http://sdr.osmocom.org/trac/wiki/rtl-sdr" +license=('GPL') +depends=('libusb>=1.0') +makedepends=('git' 'cmake') +conflicts=('rtl-sdr-git') + +_gitroot="git://git.osmocom.org/rtl-sdr.git" +_gitname="rtl-sdr" + +build() { + cd "$srcdir" + msg "Connecting to GIT server...." + + if [[ -d "$_gitname" ]]; then + cd "$_gitname" && git pull origin + msg "The local files are updated." + else + git clone "$_gitroot" "$_gitname" + fi + + msg "GIT checkout done or server timeout" + msg "Starting build..." + + rm -rf "$srcdir/$_gitname-build" + git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" + cd "$srcdir/$_gitname-build/" + git checkout "$_commit" + + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -Wno-dev ../ + make +} + +package() { + cd "$srcdir/$_gitname-build/build/" + make DESTDIR="$pkgdir" install + install -D -m644 "$srcdir/$_gitname-build/rtl-sdr.rules" "$pkgdir/usr/lib/udev/rules.d/10-rtl-sdr.rules" +} + +# vim:set ts=2 sw=2 et: diff --git a/community/sunpinyin/PKGBUILD b/community/sunpinyin/PKGBUILD index 572cd76a2..199f70b2d 100644 --- a/community/sunpinyin/PKGBUILD +++ b/community/sunpinyin/PKGBUILD @@ -1,30 +1,78 @@ -# $Id: PKGBUILD 67784 2012-03-14 12:19:33Z giovanni $ -# Maintainer: Thomas Dziedzic < gostrc at gmail > +# $Id: PKGBUILD 79672 2012-11-11 01:07:47Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: Thomas Dziedzic < gostrc at gmail > -pkgname=sunpinyin -pkgver=2.0.3 -pkgrel=2 -pkgdesc="Statistical Language Model based pinyin IME by Sun" +pkgname=('sunpinyin' 'sunpinyin-data') +pkgbase=sunpinyin +pkgver=2.0.3.20121107 +_commit=cf3fe3d7aa5bb7aa6aa5b870a759af468b6d5b2b +pkgrel=1 arch=('i686' 'x86_64') url="http://sunpinyin.googlecode.com" -license=('LGPL') -depends=('sqlite3' 'gcc-libs') -makedepends=('scons') -source=("http://sunpinyin.googlecode.com/files/sunpinyin-${pkgver}.tar.gz") -md5sums=('bc1cd4d7d48a73276dfe4c9f5a434cc7') +license=('LGPL' 'APACHE') +makedepends=('git' 'scons' 'intltool') +source=('http://open-gram.googlecode.com/files/lm_sc.t3g.arpa-20121025.tar.bz2' + 'http://open-gram.googlecode.com/files/dict.utf8-20120830.tar.bz2') + +__gitroot=git://github.com/sunpinyin/sunpinyin.git +__gitname=$pkgname build() { - cd sunpinyin-${pkgver} + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d $__gitname ] ; then + cd $__gitname && git pull origin + msg "The local files are updated." + else + git clone $__gitroot + fi + + msg "GIT checkout done or server timeout" + msg "Starting make..." + + rm -rf "$srcdir/$__gitname-build" + git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build" + cd "$srcdir/$__gitname-build" + git checkout "$_commit" + + # Build sunpinyin + sed -i -e "1s|python|python2|" python/*.py python/importer/*.py scons \ --prefix=/usr + + # Build sunpinyin-data + mkdir -p "$srcdir/$__gitname-build/raw" + ln -sf "$srcdir/lm_sc.t3g.arpa" "$srcdir/$__gitname-build/raw/lm_sc.t3g.arpa" + ln -sf "$srcdir/dict.utf8" "$srcdir/$__gitname-build/raw/dict.utf8" + + ln -sf "$srcdir/$__gitname-build/doc/SLM-inst.mk" "$srcdir/$__gitname-build/raw/Makefile" + cd "$srcdir/$__gitname-build/raw" + PATH="$srcdir/$__gitname-build/src:$PATH" + make } -package() { - cd sunpinyin-${pkgver} +package_sunpinyin() { + pkgdesc="Statistical Language Model based pinyin IME by Sun" + depends=('sqlite' 'make' 'gcc-libs' "sunpinyin-data") + arch=('i686' 'x86_64') + cd "$srcdir/$__gitname-build" scons \ --prefix=/usr \ - --install-sandbox=${pkgdir} \ + --install-sandbox="$pkgdir" \ install } + +package_sunpinyin-data() { + pkgver=2.0.3.20121025 + pkgdesc="Statistical Language Model based pinyin IME by Sun - Data files" + depends=("sunpinyin") + arch=('any') + cd "$srcdir/$__gitname-build/raw" + make DESTDIR="$pkgdir" install +} + +md5sums=('0586241ca33359ad176c842c90bf563e' + '52b9a47861bef707f65b682d52e8117f') |