upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / zh-autoconvert / trunk / PKGBUILD
blob78243cf5f8d9e39a5be589a91c89c979f112d893
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>
5 pkgname=zh-autoconvert
6 pkgver=0.3.16
7 pkgrel=5
8 pkgdesc="An intelligent Chinese Encoding converter"
9 url="https://code.google.com/archive/p/libhz/"
10 license=('LGPL')
11 arch=('x86_64')
12 depends=('glibc')
13 source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libhz/${pkgname}-${pkgver}.tar.gz
14         autoconvert.patch)
15 sha512sums=('1d3800ebebce3d24d701b497d33d27cf292785c87b8a49e4af808ea8ba0c052afec1e7fb80950322f9ae93fe0f0ea2c881a3f869fc979d7fa545139fa2d5514a'
16             '4af5720dddfb6240d2b6f2ea999dbb85212ea4d5cba8f783fd71feb0b1346c05a0e3e72167db2712d30a8d1712ff9a77be4f99bce936ead2357aea7cedcc2b37')
18 build() {
19   cd "${srcdir}/autoconvert-${pkgver}"
21   patch -Np1 -i ../autoconvert.patch
22   make
25 package() {
26   cd "${srcdir}/autoconvert-${pkgver}"
27   make DESTDIR="${pkgdir}" install