[arch-commits] Commit in python-glfw/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 02:52:22 UTC 2019


    Date: Monday, November 4, 2019 @ 02:52:22
  Author: felixonmars
Revision: 523034

archrelease: copy trunk to community-staging-any

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

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

Copied: python-glfw/repos/community-staging-any/PKGBUILD (from rev 523033, python-glfw/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 02:52:22 UTC (rev 523034)
@@ -0,0 +1,27 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=python-glfw
+pkgver=1.7.1
+pkgrel=2
+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+$url#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