[arch-commits] Commit in zh-autoconvert/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Thu May 31 02:23:40 UTC 2018
Date: Thursday, May 31, 2018 @ 02:23:40
Author: felixonmars
Revision: 333876
archrelease: copy trunk to community-x86_64
Added:
zh-autoconvert/repos/community-x86_64/PKGBUILD
(from rev 333874, zh-autoconvert/trunk/PKGBUILD)
zh-autoconvert/repos/community-x86_64/autoconvert.patch
(from rev 333874, zh-autoconvert/trunk/autoconvert.patch)
Deleted:
zh-autoconvert/repos/community-x86_64/PKGBUILD
zh-autoconvert/repos/community-x86_64/autoconvert.patch
-------------------+
PKGBUILD | 56 +++++++++++++++++++--------------------
autoconvert.patch | 74 ++++++++++++++++++++++++++--------------------------
2 files changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-31 02:23:36 UTC (rev 333875)
+++ PKGBUILD 2018-05-31 02:23:40 UTC (rev 333876)
@@ -1,28 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: CUI Hao <cuihao.leo at gmail dot com>
-# Contributor: Kandu <1123monkey at 163 dot com>
-
-pkgname=zh-autoconvert
-pkgver=0.3.16
-pkgrel=3
-pkgdesc="An intelligent Chinese Encoding converter"
-url="http://libhz.googlecode.com/"
-license=('LGPL')
-arch=('x86_64')
-depends=('glibc')
-source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libhz/${pkgname}-${pkgver}.tar.gz
- autoconvert.patch)
-md5sums=('1f4aa2332afc076910b5d510b8c81966'
- '1f7c39af01d6845c064da59224ae503b')
-
-build() {
- cd "${srcdir}/autoconvert-${pkgver}"
-
- patch -Np1 -i ../autoconvert.patch
- make
-}
-
-package() {
- cd "${srcdir}/autoconvert-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: zh-autoconvert/repos/community-x86_64/PKGBUILD (from rev 333874, zh-autoconvert/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-31 02:23:40 UTC (rev 333876)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: CUI Hao <cuihao.leo at gmail dot com>
+# Contributor: Kandu <1123monkey at 163 dot com>
+
+pkgname=zh-autoconvert
+pkgver=0.3.16
+pkgrel=4
+pkgdesc="An intelligent Chinese Encoding converter"
+url="https://code.google.com/archive/p/libhz/"
+license=('LGPL')
+arch=('x86_64')
+depends=('glibc')
+source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libhz/${pkgname}-${pkgver}.tar.gz
+ autoconvert.patch)
+sha512sums=('1d3800ebebce3d24d701b497d33d27cf292785c87b8a49e4af808ea8ba0c052afec1e7fb80950322f9ae93fe0f0ea2c881a3f869fc979d7fa545139fa2d5514a'
+ '4af5720dddfb6240d2b6f2ea999dbb85212ea4d5cba8f783fd71feb0b1346c05a0e3e72167db2712d30a8d1712ff9a77be4f99bce936ead2357aea7cedcc2b37')
+
+build() {
+ cd "${srcdir}/autoconvert-${pkgver}"
+
+ patch -Np1 -i ../autoconvert.patch
+ make
+}
+
+package() {
+ cd "${srcdir}/autoconvert-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Deleted: autoconvert.patch
===================================================================
--- autoconvert.patch 2018-05-31 02:23:36 UTC (rev 333875)
+++ autoconvert.patch 2018-05-31 02:23:40 UTC (rev 333876)
@@ -1,37 +0,0 @@
---- autoconvert-0.3.16/Makefile 2001-04-28 09:45:46.000000000 +0800
-+++ autoconvert-0.3.16-fix/Makefile 2011-05-01 11:25:23.432934576 +0800
-@@ -5,7 +5,7 @@
-
- .PHONY: all hzlib clean install-home install
-
--all: autob5 autogb hzlib xchat-plugins
-+all: autob5 autogb hzlib
-
- autob5: autogb
- rm -f autob5;ln -s autogb autob5
-@@ -15,8 +15,6 @@
- $(CC) $(CFLAG) autogb.c lib/libhz.a -o autogb
- hzlib:
- cd hzconvert;make
--xchat-plugins:
-- cd contrib/xchat-plugins;make
- clean:
- rm -f autob5 autogb *.o *~
- rm -f include/*~
-@@ -30,12 +28,13 @@
- ln -s $(HOME)/bin/autogb $(HOME)/bin/autob5
- chmod 755 $(HOME)/bin/autogb
- install:
-+ mkdir -p $(DESTDIR)/usr/bin
-+ mkdir -p $(DESTDIR)/usr/lib
-+ mkdir -p $(DESTDIR)/usr/include
- install -m 755 autogb $(DESTDIR)/usr/bin
- install -m 755 lib/libhz.so.0.0 $(DESTDIR)/usr/lib
- cd $(DESTDIR)/usr/lib;ln -s libhz.so.0.0 libhz.so.0
- cd $(DESTDIR)/usr/lib;ln -s libhz.so.0 libhz.so
-- install -m 755 lib/libhz.a $(DESTDIR)/usr/lib
-- install -m 755 contrib/xchat-plugins/xchat-autogb.so $(DESTDIR)/usr/share/zh-autoconvert
-- install -m 755 contrib/xchat-plugins/xchat-autob5.so $(DESTDIR)/usr/share/zh-autoconvert
-+ install -m 644 lib/libhz.a $(DESTDIR)/usr/lib
- install -m 644 include/*.h $(DESTDIR)/usr/include
- ln -s autogb $(DESTDIR)/usr/bin/autob5
Copied: zh-autoconvert/repos/community-x86_64/autoconvert.patch (from rev 333874, zh-autoconvert/trunk/autoconvert.patch)
===================================================================
--- autoconvert.patch (rev 0)
+++ autoconvert.patch 2018-05-31 02:23:40 UTC (rev 333876)
@@ -0,0 +1,37 @@
+--- autoconvert-0.3.16/Makefile 2001-04-28 09:45:46.000000000 +0800
++++ autoconvert-0.3.16-fix/Makefile 2011-05-01 11:25:23.432934576 +0800
+@@ -5,7 +5,7 @@
+
+ .PHONY: all hzlib clean install-home install
+
+-all: autob5 autogb hzlib xchat-plugins
++all: autob5 autogb hzlib
+
+ autob5: autogb
+ rm -f autob5;ln -s autogb autob5
+@@ -15,8 +15,6 @@
+ $(CC) $(CFLAG) autogb.c lib/libhz.a -o autogb
+ hzlib:
+ cd hzconvert;make
+-xchat-plugins:
+- cd contrib/xchat-plugins;make
+ clean:
+ rm -f autob5 autogb *.o *~
+ rm -f include/*~
+@@ -30,12 +28,13 @@
+ ln -s $(HOME)/bin/autogb $(HOME)/bin/autob5
+ chmod 755 $(HOME)/bin/autogb
+ install:
++ mkdir -p $(DESTDIR)/usr/bin
++ mkdir -p $(DESTDIR)/usr/lib
++ mkdir -p $(DESTDIR)/usr/include
+ install -m 755 autogb $(DESTDIR)/usr/bin
+ install -m 755 lib/libhz.so.0.0 $(DESTDIR)/usr/lib
+ cd $(DESTDIR)/usr/lib;ln -s libhz.so.0.0 libhz.so.0
+ cd $(DESTDIR)/usr/lib;ln -s libhz.so.0 libhz.so
+- install -m 755 lib/libhz.a $(DESTDIR)/usr/lib
+- install -m 755 contrib/xchat-plugins/xchat-autogb.so $(DESTDIR)/usr/share/zh-autoconvert
+- install -m 755 contrib/xchat-plugins/xchat-autob5.so $(DESTDIR)/usr/share/zh-autoconvert
++ install -m 644 lib/libhz.a $(DESTDIR)/usr/lib
+ install -m 644 include/*.h $(DESTDIR)/usr/include
+ ln -s autogb $(DESTDIR)/usr/bin/autob5
More information about the arch-commits
mailing list