desktop/fcitx-m17n/PKGBUILD

30 lines
720 B
Bash
Raw Normal View History

# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
# Contributor: csslayer <wengxt AT gmail com>
pkgname=fcitx-m17n
2014-06-05 16:52:57 +08:00
pkgver=0.2.3
pkgrel=1
pkgdesc="Fcitx Wrapper for m17n."
arch=('i686' 'x86_64')
2014-06-05 16:52:57 +08:00
url="https://fcitx-im.org/wiki/Fcitx"
license=('GPL')
2014-06-05 16:52:57 +08:00
depends=('fcitx>=4.2.8' 'm17n-lib')
2013-01-30 08:18:25 +08:00
makedepends=('cmake')
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
build(){
cd "$srcdir/${pkgname}-${pkgver}"
2014-06-05 16:52:57 +08:00
[[ -d build ]] && rm -rf build ; mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
2014-06-05 16:52:57 +08:00
package () {
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}
2014-06-05 16:52:57 +08:00
md5sums=('d69323cf42620ce62ec0560028c6150c')