[arch-commits] Commit in opencc/repos (4 files)
Felix Yan
fyan at nymeria.archlinux.org
Sat Mar 2 06:05:57 UTC 2013
Date: Saturday, March 2, 2013 @ 07:05:56
Author: fyan
Revision: 85505
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 85504, opencc/trunk/PKGBUILD)
opencc/repos/community-testing-x86_64/
opencc/repos/community-testing-x86_64/PKGBUILD
(from rev 85504, opencc/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 25 +++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 25 +++++++++++++++++++++++++
2 files changed, 50 insertions(+)
Copied: opencc/repos/community-testing-i686/PKGBUILD (from rev 85504, opencc/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-03-02 06:05:56 UTC (rev 85505)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgname=opencc
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="Library for Open Chinese Convert"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/opencc/"
+license=('Apache')
+depends=('glibc')
+makedepends=('cmake')
+source=("http://opencc.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('00a2de2314cd28fc8631c229fb3aa894')
Copied: opencc/repos/community-testing-x86_64/PKGBUILD (from rev 85504, opencc/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2013-03-02 06:05:56 UTC (rev 85505)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgname=opencc
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="Library for Open Chinese Convert"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/opencc/"
+license=('Apache')
+depends=('glibc')
+makedepends=('cmake')
+source=("http://opencc.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('00a2de2314cd28fc8631c229fb3aa894')
More information about the arch-commits
mailing list