diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/libpinyin/PKGBUILD | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/libpinyin/PKGBUILD')
-rw-r--r-- | community/libpinyin/PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/community/libpinyin/PKGBUILD b/community/libpinyin/PKGBUILD index 0ffcd5742..50f7044c8 100644 --- a/community/libpinyin/PKGBUILD +++ b/community/libpinyin/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 100397 2013-11-03 12:30:24Z fyan $ +# $Id: PKGBUILD 101539 2013-11-27 09:04:03Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: Yangtse <yangtsesu@gmail.com> # Contributor: WU Jun <quark at lihdd dot net> pkgname=libpinyin -pkgver=0.9.94 +pkgver=1.0.0 _modelver=7 pkgrel=1 pkgdesc="Library to deal with pinyin" @@ -12,12 +12,13 @@ arch=('i686' 'x86_64') url="https://github.com/libpinyin/libpinyin" license=('GPL') depends=('db' 'glib2') -source=("https://github.com/libpinyin/libpinyin/archive/${pkgver}.tar.gz" +makedepends=('git') +source=("git+https://github.com/$pkgname/${pkgname}.git#tag=$pkgver" "http://downloads.sourceforge.net/libpinyin/model${_modelver}.text.tar.gz") noextract=("model${_modelver}.text.tar.gz") build() { - cd ${pkgname}-${pkgver} + cd ${pkgname} cp ../model${_modelver}.text.tar.gz data/ sed -i "/wget.*model${_modelver}\.text\.tar\.gz/ d" data/Makefile.am @@ -27,9 +28,9 @@ build() { } package() { - cd ${pkgname}-$pkgver + cd ${pkgname} make DESTDIR="${pkgdir}" install } -sha512sums=('733083a8ed1dc0d230c8830e67c4d23b28ecf4c2b4adf386aee5f1e3cd9849363951c60720d5ae5fe9c075b4dbdda88969473c19bb1a8c8187cbc21e35445108' +sha512sums=('SKIP' '74a56a23cdca24124037f688ed85a921089155a1b9a0b61e646f805b2bb698c56682c5d6a47ff86657c8b131a831dbee9d5cc5165d4c1f235b77fcd5b2e480ad') |