summaryrefslogtreecommitdiff
path: root/community/zh-autoconvert/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/zh-autoconvert/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/zh-autoconvert/PKGBUILD')
-rw-r--r--community/zh-autoconvert/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/zh-autoconvert/PKGBUILD b/community/zh-autoconvert/PKGBUILD
new file mode 100644
index 000000000..24afc94ae
--- /dev/null
+++ b/community/zh-autoconvert/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: CUI Hao <cuihao.leo at gmail dot com>
+# Contributor: Kandu <1123monkey at 163 dot com>
+
+pkgname=zh-autoconvert
+pkgver=0.3.16
+pkgrel=2
+pkgdesc="An intelligent Chinese Encoding converter"
+url="http://libhz.googlecode.com/"
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('glibc')
+makedepends=('pkgconfig')
+source=(${url}/files/${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
+}
+