mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
32 lines
875 B
Bash
32 lines
875 B
Bash
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||
|
# Contributor: Timothée Ravier <tim@siosm.fr>
|
||
|
# Contributor: Blake Imsland <blake@retroco.de>
|
||
|
|
||
|
# remove when bumped upstream
|
||
|
|
||
|
pkgname=uchardet
|
||
|
pkgver=0.0.6
|
||
|
pkgrel=1.1
|
||
|
pkgdesc='Encoding detector library ported from Mozilla'
|
||
|
arch=('i686' 'x86_64')
|
||
|
url='https://www.freedesktop.org/wiki/Software/uchardet'
|
||
|
license=('MPL')
|
||
|
depends=('gcc-libs')
|
||
|
makedepends=('cmake')
|
||
|
source=("https://www.freedesktop.org/software/${pkgname}/releases/${pkgname}-${pkgver}.tar.xz")
|
||
|
sha512sums=('eceeadae060bf277e298d709856609dde32921271140dc1fb0a33c7b6e1381033fc2960d616ebbd82c92815936864d2c0743b1b5ea1b7d4a200df87df80d6de5')
|
||
|
|
||
|
build() {
|
||
|
cd ${pkgname}-${pkgver}
|
||
|
cmake \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||
|
-DCMAKE_BUILD_TYPE=Release
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd ${pkgname}-${pkgver}
|
||
|
make DESTDIR="${pkgdir}/" install
|
||
|
}
|