desktop/uchardet/PKGBUILD

26 lines
565 B
Bash
Raw Normal View History

2013-10-13 23:10:25 +08:00
pkgname=uchardet
2015-12-30 00:25:41 +08:00
pkgver=0.0.5
2013-10-13 23:10:25 +08:00
pkgrel=1
pkgdesc="An encoding detector library"
arch=('x86_64')
2015-12-30 00:25:41 +08:00
url="https://github.com/BYVoid/uchardet"
2013-10-13 23:10:25 +08:00
license=('MPL')
makedepends=('cmake')
2015-12-30 00:25:41 +08:00
source=("https://github.com/BYVoid/uchardet/archive/v${pkgver}.tar.gz")
sha256sums=('7c5569c8ee1a129959347f5340655897e6a8f81ec3344de0012a243f868eabd1')
2013-10-13 23:10:25 +08:00
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
}