added extra/uchardet

This commit is contained in:
Kevin Mihelich 2017-01-08 17:54:24 +00:00
parent b39f29df2e
commit 3e19ef6771

31
extra/uchardet/PKGBUILD Normal file
View file

@ -0,0 +1,31 @@
# 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
}