Date: Thursday, November 9, 2017 @ 09:08:30 Author: felixonmars Revision: 265833
archrelease: copy trunk to community-testing-x86_64 Added: fcitx-unikey/repos/community-testing-x86_64/ fcitx-unikey/repos/community-testing-x86_64/PKGBUILD (from rev 265832, fcitx-unikey/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: fcitx-unikey/repos/community-testing-x86_64/PKGBUILD (from rev 265832, fcitx-unikey/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-11-09 09:08:30 UTC (rev 265833) @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=fcitx-unikey +pkgver=0.2.7 +pkgrel=1 +pkgdesc="Fcitx Wrapper for unikey" +arch=('x86_64') +url="https://github.com/fcitx/fcitx-unikey" +license=('GPL') +depends=('fcitx') +optdepends=('fcitx-qt5: To run the fcitx unikey macro editor') +makedepends=('cmake' 'fcitx-qt5') +source=("http://download.fcitx-im.org/$pkgname/$pkgname-$pkgver.tar.xz") +sha512sums=('1bb78e4f27f0cda1e3aa5a633be45e0a26d121d5b472b1325b0c028ff65ca156d23e7ffee0367badeac1dd21ba1743ee8a2c9c27c629ae0996e84e0062b67ad2') + +build() { + cd $pkgname-$pkgver + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release . + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +}