summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4f7d88846bd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = guile-opengl-git
+ pkgdesc = OpenGL bindings for Guile Scheme
+ pkgver = 0.1.0.r4.g687e96b
+ pkgrel = 1
+ url = https://www.gnu.org/software/guile-opengl/
+ arch = x86_64
+ arch = i686
+ license = LGPL3
+ depends = guile>=2.1.4
+ provides = guile-opengl
+ conflicts = guile-opengl
+ source = guile-opengl-git::git+https://git.savannah.gnu.org/git/guile-opengl.git
+ md5sums = SKIP
+
+pkgname = guile-opengl-git
+
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