[arch-commits] Commit in libpinyin/trunk (PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Tue Oct 22 08:37:25 UTC 2013


    Date: Tuesday, October 22, 2013 @ 10:37:25
  Author: fyan
Revision: 99003

upgpkg: libpinyin 0.9.93-3

Modified:
  libpinyin/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-22 08:27:43 UTC (rev 99002)
+++ PKGBUILD	2013-10-22 08:37:25 UTC (rev 99003)
@@ -5,19 +5,18 @@
 
 pkgname=libpinyin
 pkgver=0.9.93
-pkgrel=2
+pkgrel=3
 pkgdesc="Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/libpinyin/libpinyin"
 license=('GPL')
 depends=('db' 'glib2')
-options=(!libtool)
 source=("https://github.com/libpinyin/libpinyin/archive/${pkgver}.tar.gz"
         "http://downloads.sourceforge.net/libpinyin/model6.text.tar.gz")
 noextract=("model6.text.tar.gz")
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
 
   cp "${srcdir}/model6.text.tar.gz" "${srcdir}/${pkgname}-${pkgver}/data/"
   sed -i '/wget.*model6\.text\.tar\.gz/ d' ${srcdir}/${pkgname}-${pkgver}/data/Makefile.am
@@ -27,7 +26,7 @@
 }
 
 package() {
-  cd "${srcdir}/libpinyin-$pkgver"
+  cd ${pkgname}-$pkgver
   make DESTDIR="${pkgdir}" install
 }
 sha512sums=('7214c7913ed116a5557e89958d0d117e7a2781dcbbcc8b1c6713fb569ca121a5763e5cf1dedfdb4607638f773875c374112865d3a306876906a126954c4ef387'




More information about the arch-commits mailing list