Commit 72904fb6 authored by Xuetian Weng's avatar Xuetian Weng

More package for fcitx :P

parent ac996f82
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Weng Xuetian <wengxt@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-chewing
pkgver=0.1.0
pkgrel=1
pkgdesc="Fcitx Wrapper for chewing."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.0' 'libchewing')
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=('4cef5df66045f0984e94197dbaf1e139')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Weng Xuetian <wengxt@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-keyboard
pkgver=0.1.0
pkgrel=1
pkgdesc="Keyboard Layout Integration wtih Fcitx"
arch=('i686' 'x86_64')
url="https://github.com/fcitx/fcitx-keyboard"
license=('GPL')
depends=('fcitx>=4.2.0' 'enchant' 'icu' 'libxkbfile' 'libxml2' 'xkeyboard-config')
conflicts=('fcitx-keyboard-git')
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=('37eb967eb882dd53a73c0773a82b0949')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Weng Xuetian <wengxt AT gmail com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-libpinyin
pkgver=0.1.0
pkgrel=1
pkgdesc="Fcitx Wrapper for libpinyin."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.0' 'libpinyin')
makedepends=('cmake' 'intltool')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
md5sums=('d8a1a32c97fc3cb36ed6c0b01ef1f800')
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
}
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Weng Xuetian <wengxt AT gmail com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-table-extra
pkgver=0.1.0
pkgrel=1
pkgdesc="Extra table data for fcitx, including Zhengma, Cangjie, Boshiamy"
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.0')
makedepends=('cmake' 'intltool')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
md5sums=('56b8d6f88206894c954ee5e3857b9988')
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
}
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Weng Xuetian <wengxt@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libpinyin
pkgver=0.5.0
pkgrel=1
pkgdesc="Library to deal with pinyin."
arch=('i686' 'x86_64')
url="https://github.com/libpinyin/libpinyin"
license=('GPL')
depends=('db')
makedepends=('automake' 'libtool' 'autoconf')
options=(!libtool)
source=(https://github.com/downloads/libpinyin/libpinyin/${pkgname}-${pkgver}.tar.gz)
md5sums=('09483a15479331af8704bbb25a179fe2')
build() {
cd ${srcdir}/libpinyin-$pkgver
(aclocal && libtoolize --force && autoheader && automake -a && autoconf) || return 1
(./configure --prefix=/usr && make) || return 1
}
package() {
cd ${srcdir}/libpinyin-$pkgver
make DESTDIR=${pkgdir} install || return 1
}
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