opt/uid_wrapper/Pkgfile

19 lines
481 B
Plaintext
Raw Normal View History

# Description: Wrapper for Unix user and group functions
# URL: https://cwrap.org/uid_wrapper.html
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
2015-05-03 17:47:49 +02:00
# Depends on: cmake
name=uid_wrapper
2020-09-25 16:32:54 +02:00
version=1.2.8
release=1
source=(https://ftp.samba.org/pub/cwrap/$name-$version.tar.gz)
build() {
2020-09-25 16:32:54 +02:00
cmake -S $name-$version -B build\
-DCMAKE_BUILD_TYPE=Release \
2020-09-25 16:32:54 +02:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
DESTDIR=$PKG cmake --install build
}