desktop/fcitx-unikey/PKGBUILD

36 lines
809 B
Bash
Raw Normal View History

2012-05-10 18:24:22 +08:00
#
# 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-unikey
2012-12-12 05:57:24 +08:00
pkgver=0.1.1
2012-05-10 18:24:22 +08:00
pkgrel=1
pkgdesc="Fcitx Wrapper for Unikey (Vietnamese)."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.3')
2012-12-12 05:57:24 +08:00
makedepends=('cmake' 'intltool' 'qt')
2012-05-10 18:24:22 +08:00
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
2012-12-12 05:57:24 +08:00
md5sums=('91dc7bd6991df3c975a0b51a246836bf')
2012-05-10 18:24:22 +08:00
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
}