[arch-commits] Commit in opencc/repos (4 files)
Felix Yan
fyan at nymeria.archlinux.org
Tue Oct 22 08:27:44 UTC 2013
Date: Tuesday, October 22, 2013 @ 10:27:43
Author: fyan
Revision: 99002
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
opencc/repos/community-testing-i686/
opencc/repos/community-testing-i686/PKGBUILD
(from rev 99001, opencc/trunk/PKGBUILD)
opencc/repos/community-testing-x86_64/
opencc/repos/community-testing-x86_64/PKGBUILD
(from rev 99001, opencc/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: opencc/repos/community-testing-i686/PKGBUILD (from rev 99001, opencc/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-10-22 08:27:43 UTC (rev 99002)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgbase=opencc
+pkgname=(opencc opencc-doc)
+pkgver=0.4.3
+pkgrel=2
+url="http://code.google.com/p/opencc/"
+arch=('i686' 'x86_64')
+license=('Apache')
+makedepends=('cmake' 'doxygen')
+source=("http://opencc.googlecode.com/files/${pkgbase}-${pkgver}.tar.gz")
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCUMENTATION:BOOL=ON
+ make
+}
+
+package_opencc() {
+ pkgdesc="Library for Open Chinese Convert"
+ depends=('glibc')
+
+ cd ${pkgbase}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ # Remove docs - install in splitted package
+ rm -r "$pkgdir/usr/share/opencc/doc"
+}
+
+package_opencc-doc() {
+ pkgdesc="Documentation for Library for Open Chinese Convert"
+
+ cd ${pkgbase}-${pkgver}/doc
+ make DESTDIR="${pkgdir}" install
+
+ # Remove manpages - already installed in main package
+ rm -r "$pkgdir/usr/share/man"
+}
+
+sha512sums=('ac31c3c018467cf047e077d399903560feb0f8c214accd1ef45d0b1477d011af8e9bf2dbde4497c133daef61b6508460e9b2b04c0b5f336c2d67fc840a1d07e6')
Copied: opencc/repos/community-testing-x86_64/PKGBUILD (from rev 99001, opencc/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2013-10-22 08:27:43 UTC (rev 99002)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgbase=opencc
+pkgname=(opencc opencc-doc)
+pkgver=0.4.3
+pkgrel=2
+url="http://code.google.com/p/opencc/"
+arch=('i686' 'x86_64')
+license=('Apache')
+makedepends=('cmake' 'doxygen')
+source=("http://opencc.googlecode.com/files/${pkgbase}-${pkgver}.tar.gz")
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCUMENTATION:BOOL=ON
+ make
+}
+
+package_opencc() {
+ pkgdesc="Library for Open Chinese Convert"
+ depends=('glibc')
+
+ cd ${pkgbase}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ # Remove docs - install in splitted package
+ rm -r "$pkgdir/usr/share/opencc/doc"
+}
+
+package_opencc-doc() {
+ pkgdesc="Documentation for Library for Open Chinese Convert"
+
+ cd ${pkgbase}-${pkgver}/doc
+ make DESTDIR="${pkgdir}" install
+
+ # Remove manpages - already installed in main package
+ rm -r "$pkgdir/usr/share/man"
+}
+
+sha512sums=('ac31c3c018467cf047e077d399903560feb0f8c214accd1ef45d0b1477d011af8e9bf2dbde4497c133daef61b6508460e9b2b04c0b5f336c2d67fc840a1d07e6')
More information about the arch-commits
mailing list