[arch-commits] Commit in opencc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 16 04:00:14 UTC 2020
Date: Thursday, April 16, 2020 @ 04:00:14
Author: felixonmars
Revision: 615149
archrelease: copy trunk to community-x86_64
Added:
opencc/repos/community-x86_64/PKGBUILD
(from rev 615148, opencc/trunk/PKGBUILD)
Deleted:
opencc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 73 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-16 04:00:02 UTC (rev 615148)
+++ PKGBUILD 2020-04-16 04:00:14 UTC (rev 615149)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=opencc
-pkgname=(opencc opencc-doc)
-pkgver=1.0.5
-_tag=ver.1.0.5
-pkgrel=2
-url="https://github.com/BYVoid/OpenCC"
-arch=('x86_64')
-license=('Apache')
-makedepends=('cmake' 'doxygen' 'python' 'git')
-source=("git+https://github.com/BYVoid/OpenCC.git#tag=$_tag")
-sha512sums=('SKIP')
-
-build() {
- cd OpenCC
- 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
- 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/doc
- make DESTDIR="${pkgdir}" install
-}
Copied: opencc/repos/community-x86_64/PKGBUILD (from rev 615148, opencc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-16 04:00:14 UTC (rev 615149)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=opencc
+pkgname=(opencc opencc-doc)
+pkgver=1.0.6
+pkgrel=1
+url="https://github.com/BYVoid/OpenCC"
+arch=('x86_64')
+license=('Apache')
+makedepends=('cmake' 'doxygen' 'python')
+source=("https://github.com/BYVoid/OpenCC/archive/ver.$pkgver/$pkgbase-$pkgver.tar.gz")
+sha512sums=('67c7bb7432483c1781701dc64ff28e4d5750898ed3d2d41f97d3782918b5f9aa1a49baa1e3a58e4b24cfbd2adcf9ea166a05ad934221fb1cb7afb35e909749e7')
+
+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