summaryrefslogtreecommitdiff
path: root/repo/tweeny/tweeny.xibuild
blob: e1ec94d5a4a32c5cded6d150f08d7791f36d0548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="tweeny"
DESC="Modern C++ tweening library"

MAKEDEPS=" cmake doxygen"

PKG_VER=3.2.0
SOURCE="https://github.com/mobius3/tweeny/archive/v$PKG_VER/tweeny-v$PKG_VER.tar.gz"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DTWEENY_BUILD_DOCUMENTATION=ON
	cmake --build build
}

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