desktop/fcitx-sunpinyin/PKGBUILD
2017-09-16 07:42:21 +01:00

28 lines
643 B
Bash

pkgname=fcitx-sunpinyin
pkgver=0.4.2
pkgrel=1
pkgdesc="Fcitx Wrapper for sunpinyin."
arch=('x86_64')
url="https://github.com/fcitx/fcitx-sunpinyin"
license=('GPL')
depends=('fcitx>=4.2.7' 'sunpinyin>=2.0.3' 'sunpinyin-data')
makedepends=('cmake')
source=(https://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
build(){
cd "$srcdir/${pkgname}-${pkgver}"
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=('32cd95e421a4a7afb5b247362bdedf75')