updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / uchardet / PKGBUILD
blobc357041f51d48f251785f099ed81f2cc31704f93
1 # Maintainer: Blake Imsland <blake@retroco.de>
3 pkgname=uchardet
4 pkgver=0.0.1
5 pkgrel=1
6 pkgdesc="An encoding detector library"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/uchardet/"
9 license=('MPL')
10 makedepends=('cmake')
11 source=("http://uchardet.googlecode.com/files/$pkgname-$pkgver.tar.gz")
12 md5sums=('9c17f0aca38c66c95d400691a9160b1b')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
16         cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
17   make
20 check() {
21   cd "$srcdir/$pkgname-$pkgver"
22   #make -k check
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
27   make DESTDIR="$pkgdir/" install