mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 03:24:41 +08:00
30 lines
680 B
Bash
30 lines
680 B
Bash
# 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=1
|
|
pkgdesc="An intelligent Chinese Encoding converter"
|
|
url="http://libhz.googlecode.com/"
|
|
license=('LGPL')
|
|
arch=('i686' 'x86_64')
|
|
depends=('glibc')
|
|
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
|
|
}
|
|
|