summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHoukime2019-11-03 16:03:13 +0000
committerHoukime2019-11-03 16:03:13 +0000
commitc71bef213a449a8c7ecec3cfe39499228378fbf9 (patch)
treeb5534b1ea0e4ff6f0e2fe4f4898bd348e83ec117 /PKGBUILD
downloadaur-guile-opengl-git.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eeab65d1f90
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: houkime <houkime@protonmail.com>
+
+pkgname=guile-opengl-git
+pkgver=0.1.0.r4.g687e96b
+pkgrel=1
+pkgdesc='OpenGL bindings for Guile Scheme'
+arch=(x86_64 i686)
+license=(LGPL3)
+depends=('guile>=2.1.4')
+provides=('guile-opengl')
+conflicts=('guile-opengl')
+url=https://www.gnu.org/software/guile-opengl/
+source=("${pkgname}"'::git+https://git.savannah.gnu.org/git/guile-opengl.git')
+md5sums=('SKIP')
+
+pkgver(){
+ cd "$srcdir/$pkgname"
+ git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build(){
+ cd "$srcdir/$pkgname"
+ autoreconf -vif
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR=$pkgdir install
+} \ No newline at end of file