[arch-commits] Commit in opencc/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Dec 6 19:19:37 UTC 2015
Date: Sunday, December 6, 2015 @ 20:19:37
Author: foutrelis
Revision: 149089
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
opencc/repos/community-staging-i686/
opencc/repos/community-staging-i686/PKGBUILD
(from rev 149088, opencc/trunk/PKGBUILD)
opencc/repos/community-staging-x86_64/
opencc/repos/community-staging-x86_64/PKGBUILD
(from rev 149088, opencc/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: opencc/repos/community-staging-i686/PKGBUILD (from rev 149088, opencc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 19:19:37 UTC (rev 149089)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=opencc
+pkgname=(opencc opencc-doc)
+pkgver=1.0.3
+pkgrel=2
+url="http://code.google.com/p/opencc/"
+arch=('i686' 'x86_64')
+license=('Apache')
+makedepends=('cmake' 'doxygen' 'python')
+source=("https://github.com/BYVoid/OpenCC/archive/ver.${pkgver}.tar.gz")
+sha512sums=('0257ff15cf9c57f248ec236a7ddde1f29e223d0e26411628f0321be92098f01977e19b0af271627660d07c63f7fa6804bc31fe5cbf576398cbc783d31e23966a')
+
+build() {
+ cd OpenCC-ver.${pkgver}
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCUMENTATION:BOOL=ON
+ make
+}
+
+package_opencc() {
+ pkgdesc="Library for Open Chinese Convert"
+ depends=('gcc-libs')
+
+ cd OpenCC-ver.${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 OpenCC-ver.${pkgver}/doc
+ make DESTDIR="${pkgdir}" install
+}
+
Copied: opencc/repos/community-staging-x86_64/PKGBUILD (from rev 149088, opencc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-06 19:19:37 UTC (rev 149089)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=opencc
+pkgname=(opencc opencc-doc)
+pkgver=1.0.3
+pkgrel=2
+url="http://code.google.com/p/opencc/"
+arch=('i686' 'x86_64')
+license=('Apache')
+makedepends=('cmake' 'doxygen' 'python')
+source=("https://github.com/BYVoid/OpenCC/archive/ver.${pkgver}.tar.gz")
+sha512sums=('0257ff15cf9c57f248ec236a7ddde1f29e223d0e26411628f0321be92098f01977e19b0af271627660d07c63f7fa6804bc31fe5cbf576398cbc783d31e23966a')
+
+build() {
+ cd OpenCC-ver.${pkgver}
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCUMENTATION:BOOL=ON
+ make
+}
+
+package_opencc() {
+ pkgdesc="Library for Open Chinese Convert"
+ depends=('gcc-libs')
+
+ cd OpenCC-ver.${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 OpenCC-ver.${pkgver}/doc
+ make DESTDIR="${pkgdir}" install
+}
+
More information about the arch-commits
mailing list