diff options
Diffstat (limited to 'community/zh-autoconvert/PKGBUILD')
-rw-r--r-- | community/zh-autoconvert/PKGBUILD | 30 |
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 +} + |