desktop/uchardet/PKGBUILD
2015-12-29 17:25:41 +01:00

26 lines
565 B
Bash

pkgname=uchardet
pkgver=0.0.5
pkgrel=1
pkgdesc="An encoding detector library"
arch=('x86_64')
url="https://github.com/BYVoid/uchardet"
license=('MPL')
makedepends=('cmake')
source=("https://github.com/BYVoid/uchardet/archive/v${pkgver}.tar.gz")
sha256sums=('7c5569c8ee1a129959347f5340655897e6a8f81ec3344de0012a243f868eabd1')
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make
}
check() {
cd "$srcdir/$pkgname-$pkgver"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}