summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 612f535f575753d4c27a44cfd6fef60596b44426 (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
# Maintainer: Kat Witten <turtlewit@live.com>
pkgname=cglm
pkgver=0.5.4
pkgrel=1
pkgdesc="OpenGL Mathematics (glm) for C"
arch=('x86_64')
url="https://github.com/recp/cglm"
license=('MIT')
depends=('glibc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/recp/cglm/archive/v$pkgver.tar.gz")
md5sums=('ce6287faff1cfcef661372c51122ea68')

build() {
	cd "$pkgname-$pkgver"
	sh autogen.sh
	./configure --prefix=/usr
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	install -d "$pkgdir/usr/share/licenses/cglm"
	install LICENSE "$pkgdir/usr/share/licenses/cglm/"
}