Commit 6bfe4a81 authored by Neo Kolokotronis's avatar Neo Kolokotronis

Importing the fcitx group from CCR

parent f2704390
...@@ -43,4 +43,3 @@ user.conf ...@@ -43,4 +43,3 @@ user.conf
*.log *.log
*.log* *.log*
*.sh
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
# Contributor: poplarch <poplarch@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-cloudpinyin
pkgver=0.1.1
pkgrel=1
pkgdesc="This is a standalone module for fcitx, it can use pinyin API on the internet to input."
arch=('i686' 'x86_64')
url="https://github.com/csslayer/fcitx-cloudpinyin"
license=('GPL')
depends=('fcitx>=4.1.0')
makedepends=('cmake' 'intltool')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
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=('f5b77c42d441bab8248a8c3558b61177')
pkgname=fcitx-googlepinyin
pkgver=0.1.2
pkgrel=1
pkgdesc="Fcitx Wrapper for googlepinyin."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.1.0' 'libgooglepinyin')
makedepends=('cmake' 'intltool')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
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=('ce483bcc2fac0ee8f87bcc6e7e53cda1')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
# Contributor: csslayer <wengxt AT gmail com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-sunpinyin
pkgver=0.3.1
pkgrel=1
pkgdesc="Fcitx Wrapper for sunpinyin."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.1.0' 'sunpinyin-git' 'libxpm')
makedepends=('cmake' 'intltool')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
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=('b6b2307a8aaa39db5445c171c5e6a431')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
# Contributor: csslayer <wengxt AT gmail com>
# Contributor: Yangtse <yangtsesu@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-ui-light
pkgver=0.1.1
pkgrel=1
pkgdesc="light weight xlib and xft based ui for fcitx."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.1.0')
makedepends=('cmake' 'intltool')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
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=('35e0f6b207bbad1192cbd33891032238')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
# Contributor: csslayer <wengxt AT gmail com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=fcitx
pkgname=('fcitx' 'fcitx-qt')
pkgver=4.1.1
pkgrel=1
pkgdesc="Free Chinese Input Toy of X - Input Method Server for X window system"
arch=("i686" "x86_64")
license=('GPL')
url="http://code.google.com/p/fcitx"
makedepends=('intltool' 'cmake' 'pango' 'qt' 'icu' 'dbus-core' 'wget')
conflicts=('fcitx-utf8-svn' 'fcitx-svn' 'fcitx-hg')
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
build() {
cd $srcdir/
msg "Creating make environment..."
mkdir -p $srcdir/build
msg "Starting make..."
cd $srcdir/build
cmake ../${pkgname}-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DENABLE_QT_IM_MODULE=On \
-DENABLE_GTK2_IM_MODULE=Off \
-DENABLE_GTK3_IM_MODULE=Off \
-DENABLE_OPENCC=Off
make
}
package_fcitx(){
depends=('pango' 'dbus-core')
cd $srcdir/build
make DESTDIR=$pkgdir install
rm -rf $pkgdir/usr/lib/qt/
rm -rf $pkgdir/usr/lib/gtk-2.0/
}
package_fcitx-qt()
{
pkgdesc='QT IM Module for fcitx'
depends=('qt' 'icu' 'fcitx')
cd $srcdir/build/src/frontend/qt
make DESTDIR=$pkgdir install
}
md5sums=('ade2c8b4b29d5bfdee4f2092637d5af6')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
#Contributor: poplarch <poplarch@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kcm-fcitx
pkgver=0.1.1
pkgrel=1
pkgdesc="KDE Config Module for Fcitx"
arch=('i686' 'x86_64')
url="https://github.com/fcitx/kcm-fcitx"
license=('GPL')
depends=('fcitx' 'kdebase-runtime')
makedepends=('cmake' 'intltool' 'automoc4')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
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=('4b710c3b0783fb2d018dd25b47cfe24a')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
# Contributor: csslayer <wengxt AT gmail com>
# Contributor: Yangtse <yangtsesu@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libgooglepinyin
pkgver=0.1.1
pkgrel=1
pkgdesc="A fork from google pinyin on android"
arch=('i686' 'x86_64')
url="http://code.google.com/p/libgooglepinyin"
license=('APACHE')
makedepends=('cmake')
conflicts=('libgooglepinyin-hg')
source=(http://libgooglepinyin.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
build(){
cd "${srcdir}"
msg "Starting make..."
rm -rf "${srcdir}/build"
cp -rf "${srcdir}/${pkgname}-${pkgver}" "$srcdir/build"
cd "${srcdir}/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr . \
-DENABLE_STATIC=Off
make DESTDIR=${pkgdir} install
}
md5sums=('dd78eaf1fb4fc7dac379a8c837d8940d')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
# Contributor: csslayer <wengxt AT gmail com>
# Contributor: Jekyll Wu<adaptee [at] gmail [dot com>
# Contributor: Liu Chang <goduck777@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=sunpinyin-git
pkgver=20110924
pkgrel=1
pkgdesc='A statistical language model based pinyin IME by Sun.'
url='http://code.google.com/p/sunpinyin/'
arch=('i686' 'x86_64')
license=('LGPL')
depends=('sqlite3')
makedepends=('git' 'scons' 'intltool')
provides=('sunpinyin')
conflicts=('sunpinyin')
source=('http://open-gram.googlecode.com/files/lm_sc.t3g.arpa.tar.bz2'
'http://open-gram.googlecode.com/files/dict.utf8.tar.bz2')
noextract=('lm_sc.t3g.arpa.tar.bz2'
'dict.utf8.tar.bz2')
_gitroot="git://github.com/sunpinyin/sunpinyin.git"
_gitname="sunpinyin"
build() {
cd $srcdir
msg "Connecting to the GIT server...."
if [[ -d $srcdir/$_gitname ]] ; then
cd $_gitname
git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done"
msg "Starting make..."
rm -rf $srcdir/$_gitname-build
git clone $srcdir/$_gitname $srcdir/$_gitname-build
cd $srcdir/$_gitname-build
ln -sf ${srcdir}/lm_sc.t3g.arpa.tar.bz2 raw/lm_sc.t3g.arpa.tar.bz2
ln -sf ${srcdir}/dict.utf8.tar.bz2 raw/dict.utf8.tar.bz2
scons --prefix=/usr
scons install --prefix=/usr --install-sandbox=$pkgdir || return 1
}
md5sums=('7a66d55a515959bbf69cb5480281afa0'
'5fe50a8a4d889e17c17d64d4241911d0')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment