milis/talimatname/genel/uchardet/talimat

21 lines
463 B
Plaintext

# Description: Encoding detector library ported from Mozilla
# URL: https://www.freedesktop.org/wiki/Software/uchardet
# Packager: milisarge
# Depends on: cmake
name=uchardet
version=0.0.6
release=1
source=(https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.6.tar.xz
)
build() {
cd ${name}-${version}
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release
make
make DESTDIR="${PKG}/" install
}