desktop/fcitx-m17n/PKGBUILD
2017-09-16 07:00:52 +01:00

27 lines
619 B
Bash

pkgname=fcitx-m17n
pkgver=0.2.4
pkgrel=1
pkgdesc="Fcitx Wrapper for m17n."
arch=('x86_64')
url="https://github.com/fcitx/fcitx-m17n"
license=('GPL')
depends=('fcitx>=4.2.8' 'm17n-lib')
makedepends=('cmake')
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
build(){
cd "$srcdir/${pkgname}-${pkgver}"
[[ -d build ]] && 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=('d9c3e77914bd19d235d4d74fcea8df89')