mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
added extra/uchardet
This commit is contained in:
parent
b39f29df2e
commit
3e19ef6771
1 changed files with 31 additions and 0 deletions
31
extra/uchardet/PKGBUILD
Normal file
31
extra/uchardet/PKGBUILD
Normal 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
|
||||
}
|
Loading…
Reference in a new issue