desktop/fcitx-sunpinyin/PKGBUILD

28 lines
643 B
Bash
Raw Normal View History

2011-09-25 02:41:58 +08:00
pkgname=fcitx-sunpinyin
2017-09-16 14:42:21 +08:00
pkgver=0.4.2
pkgrel=1
2011-09-25 02:41:58 +08:00
pkgdesc="Fcitx Wrapper for sunpinyin."
2017-09-16 14:42:21 +08:00
arch=('x86_64')
url="https://github.com/fcitx/fcitx-sunpinyin"
2011-09-25 02:41:58 +08:00
license=('GPL')
2014-08-05 03:07:48 +08:00
depends=('fcitx>=4.2.7' 'sunpinyin>=2.0.3' 'sunpinyin-data')
2013-01-30 08:18:25 +08:00
makedepends=('cmake')
2017-03-24 10:53:52 +08:00
source=(https://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
2011-09-25 02:41:58 +08:00
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
2012-02-23 12:09:30 +08:00
}
2017-09-16 14:42:21 +08:00
md5sums=('32cd95e421a4a7afb5b247362bdedf75')