archrelease: copy trunk to community-any
[ArchLinux/community.git] / fcitx5-libthai / trunk / PKGBUILD
blobcd049b1f2f9f5b80ee40d6156b97d15dbd80b385
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: csslayer <wengxt AT gmail com>
4 pkgname=fcitx5-libthai
5 pkgver=5.0.11
6 pkgrel=1
7 pkgdesc="Libthai Wrapper for Fcitx5"
8 arch=('x86_64')
9 url="https://github.com/fcitx/fcitx5-libthai"
10 license=('GPL')
11 depends=('fcitx5' 'libthai')
12 makedepends=('extra-cmake-modules' 'ninja')
13 source=("https://download.fcitx-im.org/fcitx5/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
14 sha512sums=('4fff2536d95db0519c235617c7ed1f19e61f6a82d2879edc1ae7a0042e6d3ce1051e3a40e4b53e1f14b1ba73aa7e4ec54ea2d2e7e2bff635eb97d3a7c36477ba'
15             'SKIP')
16 validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian <wengxt@gmail.com>
18 build(){
19   cd $pkgname-$pkgver
21   cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
22   ninja
25 package() {
26   cd $pkgname-$pkgver
27   DESTDIR="$pkgdir" ninja install