[arch-commits] Commit in opencc/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 16 04:00:03 UTC 2020
Date: Thursday, April 16, 2020 @ 04:00:02
Author: felixonmars
Revision: 615148
upgpkg: opencc 1.0.6-1
Modified:
opencc/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-16 02:04:45 UTC (rev 615147)
+++ PKGBUILD 2020-04-16 04:00:02 UTC (rev 615148)
@@ -2,18 +2,17 @@
pkgbase=opencc
pkgname=(opencc opencc-doc)
-pkgver=1.0.5
-_tag=ver.1.0.5
-pkgrel=2
+pkgver=1.0.6
+pkgrel=1
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')
+makedepends=('cmake' 'doxygen' 'python')
+source=("https://github.com/BYVoid/OpenCC/archive/ver.$pkgver/$pkgbase-$pkgver.tar.gz")
+sha512sums=('67c7bb7432483c1781701dc64ff28e4d5750898ed3d2d41f97d3782918b5f9aa1a49baa1e3a58e4b24cfbd2adcf9ea166a05ad934221fb1cb7afb35e909749e7')
build() {
- cd OpenCC
+ cd OpenCC-ver.$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCUMENTATION:BOOL=ON
make
}
@@ -22,9 +21,9 @@
pkgdesc="Library for Open Chinese Convert"
depends=('gcc-libs')
- cd OpenCC
+ cd OpenCC-ver.$pkgver
make DESTDIR="${pkgdir}" install
-
+
# Remove docs - install in splitted package
rm -r "$pkgdir/usr/share/opencc/doc"
}
@@ -32,6 +31,6 @@
package_opencc-doc() {
pkgdesc="Documentation for Library for Open Chinese Convert"
- cd OpenCC/doc
+ cd OpenCC-ver.$pkgver/doc
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list