desktop/fcitx-unikey/PKGBUILD

28 lines
668 B
Bash
Raw Normal View History

2012-05-10 18:24:22 +08:00
pkgname=fcitx-unikey
2015-12-01 07:29:52 +08:00
pkgver=0.2.5
2012-05-10 18:24:22 +08:00
pkgrel=1
pkgdesc="Fcitx Wrapper for Unikey (Vietnamese)."
arch=('i686' 'x86_64')
2014-06-05 16:52:57 +08:00
url="https://fcitx-im.org/wiki/Fcitx"
2012-05-10 18:24:22 +08:00
license=('GPL')
2013-01-30 08:18:25 +08:00
depends=('fcitx>=4.2.7' 'qt')
makedepends=('cmake')
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
2015-12-01 07:29:52 +08:00
sha256sums=('8e0bc06d7771074e17acf7045f43aa3a6d9dc2c0e48f8d52548af9b393607b18')
2012-05-10 18:24:22 +08:00
build(){
cd "$srcdir/${pkgname}-${pkgver}"
2014-06-05 16:52:57 +08:00
[[ -d build ]] && rm -rf build ; mkdir build
2012-05-10 18:24:22 +08:00
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
package ()
{
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}