26 lines
516 B
Plaintext
Raw Normal View History

2024-07-23 08:20:18 -04:00
# Description: Library to query system statistics
# URL: https://github.com/lxqt/libsysstat
# Maintainer: Jay Lanagan, j at lngn dot net
2024-11-08 05:51:05 -05:00
# Depends on: lxqt-build-tools
2024-07-23 08:20:18 -04:00
name=libsysstat
2024-11-08 05:51:05 -05:00
version=1.1.0
2024-07-23 08:20:18 -04:00
release=1
source=(https://github.com/lxqt/$name/releases/download/$version/$name-$version.tar.xz)
build() {
mkdir -p build
cd build
cmake "$SRC/$name-$version" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev
make
make DESTDIR="$PKG" install
}