summaryrefslogtreecommitdiff
path: root/templates/cmake.xibuild
blob: 15c71330a99e8ed4335519593150da3034cd090a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
build () {
    cmake -B build \
        -DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
		-DBUILD_SHARED_LIBS=True \
        -DBUILD_STATIC_LIBS=OFF
	cmake --build build
}

package () {
	DESTDIR="$PKG_DEST" cmake --install build
}