Date: Thursday, April 27, 2017 @ 14:01:23 Author: felixonmars Revision: 226042
upgpkg: fcitx-libpinyin 0.5.1-3 rebuild with new libpinyin Modified: fcitx-libpinyin/trunk/PKGBUILD ----------+ PKGBUILD | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-04-27 13:53:30 UTC (rev 226041) +++ PKGBUILD 2017-04-27 14:01:23 UTC (rev 226042) @@ -5,31 +5,31 @@ pkgname=fcitx-libpinyin pkgver=0.5.1 _model=model.text.20161206.tar.gz -pkgrel=2 +pkgrel=3 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin" arch=('i686' 'x86_64') url="https://github.com/fcitx/fcitx-libpinyin" license=('GPL') depends=('fcitx' 'libpinyin' 'fcitx-qt5' 'qt5-webengine') -makedepends=('cmake' 'git') -source=("git+https://github.com/fcitx/fcitx-libpinyin.git#tag=$pkgver" - "http://download.fcitx-im.org/data/$_model") -sha512sums=('SKIP' +makedepends=('cmake') +source=("$pkgname-$pkgver.tar.gz::https://github.com/fcitx/fcitx-libpinyin/archive/$pkgver.tar.gz" + "$pkgname-$_model::http://download.fcitx-im.org/data/$_model") +sha512sums=('5847d98c639584aa53be630c7d96f529fa03f5c88f2e2dc657256c7192d09e93abc36be5c77da2a3b6f57674a4a9e0f666df9da9d5b18e02a42d914c5cc4aacf' '26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429') prepare() { mkdir build - ln -s "$srcdir"/$_model fcitx-libpinyin/data/ + ln -s "$srcdir"/$pkgname-$_model fcitx-libpinyin-$pkgver/data/$_model } build() { cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../$pkgname + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../$pkgname-$pkgver make } package() { cd build - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install }