aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tweeny/APKBUILD
blob: 5407d139c344e8366f6616aaf899729d0bc00bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=tweeny
pkgver=3
pkgrel=0
pkgdesc="A modern C++ tweening library"
url="https://mobius3.github.io/tweeny"
arch="noarch"
license="MIT"
options="!check" # no test suite
makedepends="cmake doxygen"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mobius3/tweeny/archive/v$pkgver.tar.gz"

build() {
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DTWEENY_BUILD_DOCUMENTATION=ON
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="41f2562a0e55b0fd2c219fab384bf46f70432abb47953b5ac768a29b2ea7b790c6aa56fd44c1fef583f6fa2011010d7dd7e637bcd2d8a9be5c9638a7f2ce7436  tweeny-3.tar.gz"