summaryrefslogtreecommitdiff
path: root/community/zh-autoconvert/PKGBUILD
blob: 24afc94ae6c4b4af7427fe73e97d725f02b01507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}