sbcl rebuild
[arch-packages.git] / uchardet / trunk / PKGBUILD
blob7935f650077df34533ed3c23d77b4f3f2e833235
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Timothée Ravier <tim@siosm.fr>
3 # Contributor: Blake Imsland <blake@retroco.de>
5 pkgname=uchardet
6 pkgver=0.0.7
7 pkgrel=1
8 pkgdesc='Encoding detector library ported from Mozilla'
9 arch=('x86_64')
10 url='https://www.freedesktop.org/wiki/Software/uchardet'
11 license=('MPL')
12 depends=('gcc-libs')
13 makedepends=('cmake')
14 source=("https://www.freedesktop.org/software/${pkgname}/releases/${pkgname}-${pkgver}.tar.xz")
15 sha512sums=('ddb7b63dd09c1d9acbe620d86217e583d9aa5340780ab4010ec9faa4fd331498859d5efa7829bf8847da89325accf8f7304b51d410210178fc1ffa6658064a6f')
17 build() {
18         cd ${pkgname}-${pkgver}
19         cmake \
20                 -DCMAKE_INSTALL_PREFIX=/usr \
21                 -DCMAKE_INSTALL_LIBDIR=lib \
22                 -DCMAKE_BUILD_TYPE=Release
23         make
26 package() {
27         cd ${pkgname}-${pkgver}
28         make DESTDIR="${pkgdir}/" install