[arch-commits] Commit in python-glfw/repos/community-any (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Thu Aug 2 12:27:51 UTC 2018


    Date: Thursday, August 2, 2018 @ 12:27:49
  Author: arodseth
Revision: 367252

archrelease: copy trunk to community-any

Added:
  python-glfw/repos/community-any/PKGBUILD
    (from rev 367251, python-glfw/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-glfw/repos/community-any/PKGBUILD (from rev 367251, python-glfw/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-02 12:27:49 UTC (rev 367252)
@@ -0,0 +1,29 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=python-glfw
+pkgver=1.7.0
+pkgrel=1
+pkgdesc='Module for OpenGL, OpenGL ES, Vulkan, window and input support'
+arch=('any')
+url='https://github.com/FlorianRhiem/pyGLFW'
+license=('MIT')
+depends=('glfw' 'python')
+makedepends=('git' 'python-setuptools')
+source=("git+https://github.com/FlorianRhiem/pyGLFW#tag=v$pkgver")
+md5sums=('SKIP')
+
+build() {
+  cd pyGLFW
+  
+  python setup.py build
+}
+
+package() {
+  cd pyGLFW
+
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: github.com/FlorianRhiem/pyGLFW
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list