diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-07-02 03:51:56 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-07-02 03:51:56 +0000 |
commit | 35f5198d4a73e45c4e9e22d638f5bfd5b9b4bc62 (patch) | |
tree | 0a936fac74a00270ec2c07d3a37a63e79dd80999 /community/libgooglepinyin/PKGBUILD | |
parent | 88933a383866089c23f6d62783a6a24ab211e872 (diff) |
Wed Jul 2 03:45:24 UTC 2014
Diffstat (limited to 'community/libgooglepinyin/PKGBUILD')
-rw-r--r-- | community/libgooglepinyin/PKGBUILD | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/community/libgooglepinyin/PKGBUILD b/community/libgooglepinyin/PKGBUILD index bac38b86c..9d2e386be 100644 --- a/community/libgooglepinyin/PKGBUILD +++ b/community/libgooglepinyin/PKGBUILD @@ -4,7 +4,7 @@ pkgname=libgooglepinyin pkgver=0.1.2 -pkgrel=1 +pkgrel=2 pkgdesc="A fork from google pinyin on android" arch=('i686' 'x86_64') url="http://code.google.com/p/libgooglepinyin" @@ -14,20 +14,16 @@ makedepends=('cmake') source=(http://libgooglepinyin.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2) build() { - cd "${srcdir}" - - msg "Starting make..." - - rm -rf "${srcdir}/build" - cp -rf "${srcdir}/${pkgname}-${pkgver}" "$srcdir/build" - cd "${srcdir}/build" + rm -rf build + mkdir build + cd build cmake -DCMAKE_INSTALL_PREFIX=/usr . \ - -DENABLE_STATIC=Off + -DENABLE_STATIC=Off ../$pkgname-$pkgver } package() { - cd "${srcdir}/build" + cd build make DESTDIR="${pkgdir}" install } |