summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Witten2019-05-08 21:01:07 -0700
committerTyler Witten2019-05-08 21:01:07 -0700
commit4f6f5d53ba190b893409590667f1ba2a4f18c23a (patch)
tree76ad535dcd30b4fc26dabb89b0b657f1992d0ccc
downloadaur-4f6f5d53ba190b893409590667f1ba2a4f18c23a.tar.gz
initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD26
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..13ab039c3bb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = cglm
+ pkgdesc = OpenGL Mathematics (glm) for C
+ pkgver = 0.5.4
+ pkgrel = 1
+ url = https://github.com/recp/cglm
+ arch = x86_64
+ license = MIT
+ makedepends = cmocka
+ depends = glibc
+ source = cglm-0.5.4.tar.gz::https://github.com/recp/cglm/archive/v0.5.4.tar.gz
+ md5sums = ce6287faff1cfcef661372c51122ea68
+
+pkgname = cglm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aa0a0c2c600
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# 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')
+makedepends=('cmocka')
+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/"
+}