1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: CUI Hao <cuihao.leo at gmail dot com>
3 # Contributor: Kandu <1123monkey at 163 dot com>
8 pkgdesc="An intelligent Chinese Encoding converter"
9 url="https://code.google.com/archive/p/libhz/"
13 source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libhz/${pkgname}-${pkgver}.tar.gz
15 sha512sums=('1d3800ebebce3d24d701b497d33d27cf292785c87b8a49e4af808ea8ba0c052afec1e7fb80950322f9ae93fe0f0ea2c881a3f869fc979d7fa545139fa2d5514a'
16 '4af5720dddfb6240d2b6f2ea999dbb85212ea4d5cba8f783fd71feb0b1346c05a0e3e72167db2712d30a8d1712ff9a77be4f99bce936ead2357aea7cedcc2b37')
19 cd "${srcdir}/autoconvert-${pkgver}"
21 patch -Np1 -i ../autoconvert.patch
26 cd "${srcdir}/autoconvert-${pkgver}"
27 make DESTDIR="${pkgdir}" install