archrelease: copy trunk to extra-x86_64
[arch-packages.git] / uchardet / repos / extra-x86_64 / PKGBUILD
blobb8779a1f5b8cc07ad636b9a550d69bc4a196bf48
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.8
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=('4a5dcc9ff021352f3b252e103ff1475cec62c974294b264ee9243f024633c3ae44be8c7733608624066113e635f8b156ecb08c8ff87c736d04b07641eb166382')
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