2012-05-10 18:24:22 +08:00
|
|
|
pkgname=fcitx-unikey
|
2017-11-17 11:10:03 +08:00
|
|
|
pkgver=0.2.7
|
2012-05-10 18:24:22 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Fcitx Wrapper for Unikey (Vietnamese)."
|
2017-09-16 14:51:39 +08:00
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/fcitx/fcitx-unikey"
|
2012-05-10 18:24:22 +08:00
|
|
|
license=('GPL')
|
2017-11-17 11:10:03 +08:00
|
|
|
depends=('fcitx')
|
|
|
|
optdepends=('fcitx-qt5: To run the fcitx unikey macro editor')
|
|
|
|
makedepends=('cmake' 'fcitx-qt5')
|
2013-07-01 08:57:17 +08:00
|
|
|
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
2017-11-17 11:10:03 +08:00
|
|
|
sha256sums=('e750774b73b08e51148b963736d8207e50c3973e5456b6569cb7ad86831e0e59')
|
2015-12-01 07:29:52 +08:00
|
|
|
|
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
|
|
|
|
}
|