aboutsummaryrefslogtreecommitdiffstats
path: root/main/glfw/APKBUILD
blob: 117168a3145b75d76cc82fd177155fc119f654b7 (plain) (blame)
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
28
29
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=glfw
pkgver=3.3.2
pkgrel=1
pkgdesc="Multi-platform library for OpenGL and Vulkan application development"
url="https://www.glfw.org/"
arch="all"
license="Zlib"
depends_dev="libxinerama-dev linux-headers mesa-dev"
makedepends="$depends_dev cmake libx11-dev libxcursor-dev libxrandr-dev
	libxi-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/glfw/glfw/archive/$pkgver.tar.gz"


build() {
	cmake . \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=ON
	make
}

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

sha512sums="f5af749d33b5b900ccf07988ad0bf51bd766a18e4cf2bc2a76020c88e98a2528ff1b965224184fe0d290cfe34b1af1e6f633600660d81194fe354078e2f35c56  glfw-3.3.2.tar.gz"