mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
650 B
Bash
31 lines
650 B
Bash
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: FranzMari <franzmari[at]chakra-project[dot]it>
|
|
|
|
pkgname=uchardet
|
|
pkgver=0.0.1
|
|
pkgrel=1
|
|
pkgdesc="An encoding detector library"
|
|
arch=('x86_64')
|
|
url="http://code.google.com/p/uchardet/"
|
|
license=('MPL')
|
|
makedepends=('cmake')
|
|
source=("http://uchardet.googlecode.com/files/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('9c17f0aca38c66c95d400691a9160b1b')
|
|
|
|
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
|
|
}
|