summaryrefslogtreecommitdiff
path: root/community/opencc/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-26 01:22:45 -0700
committerroot <root@rshg054.dnsready.net>2013-10-26 01:22:45 -0700
commit24152c3ea77087edccf017c13d44904a75799ff7 (patch)
tree65e25106816e5071dd5b2edc2270e0138c23dc7c /community/opencc/PKGBUILD
parent5a3821aec094b38a412cf5e6997c08b6428d6f77 (diff)
Sat Oct 26 01:21:13 PDT 2013
Diffstat (limited to 'community/opencc/PKGBUILD')
-rw-r--r--community/opencc/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/opencc/PKGBUILD b/community/opencc/PKGBUILD
index 01375c5e2..3a88ab6b4 100644
--- a/community/opencc/PKGBUILD
+++ b/community/opencc/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 95956 2013-08-19 06:36:39Z fyan $
+# $Id: PKGBUILD 99152 2013-10-25 05:05:17Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
pkgbase=opencc
pkgname=(opencc opencc-doc)
pkgver=0.4.3
-pkgrel=1
+pkgrel=2
url="http://code.google.com/p/opencc/"
arch=('i686' 'x86_64')
license=('Apache')
@@ -12,7 +12,7 @@ makedepends=('cmake' 'doxygen')
source=("http://opencc.googlecode.com/files/${pkgbase}-${pkgver}.tar.gz")
build() {
- cd "$srcdir/${pkgbase}-${pkgver}"
+ cd ${pkgbase}-${pkgver}
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCUMENTATION:BOOL=ON
make
}
@@ -21,7 +21,7 @@ package_opencc() {
pkgdesc="Library for Open Chinese Convert"
depends=('glibc')
- cd "$srcdir/${pkgbase}-${pkgver}"
+ cd ${pkgbase}-${pkgver}
make DESTDIR="${pkgdir}" install
# Remove docs - install in splitted package
@@ -31,7 +31,7 @@ package_opencc() {
package_opencc-doc() {
pkgdesc="Documentation for Library for Open Chinese Convert"
- cd "$srcdir/${pkgbase}-${pkgver}/doc"
+ cd ${pkgbase}-${pkgver}/doc
make DESTDIR="${pkgdir}" install
# Remove manpages - already installed in main package