summaryrefslogtreecommitdiff
path: root/pcr/python2-gtkglext/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-23 16:11:53 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-23 16:11:53 +0100
commit76135fa06c73baf5f214e46a4290f0c4a6e06326 (patch)
treed85d3688f2f02b824682d0aa3f24735ec4e633b8 /pcr/python2-gtkglext/PKGBUILD
parenta4eff7f8d2d1ca1a24e860d199146f33efb84a47 (diff)
downloadabslibre-76135fa06c73baf5f214e46a4290f0c4a6e06326.tar.gz
abslibre-76135fa06c73baf5f214e46a4290f0c4a6e06326.tar.bz2
abslibre-76135fa06c73baf5f214e46a4290f0c4a6e06326.zip
pcr/python2-gtkglext: added
Diffstat (limited to 'pcr/python2-gtkglext/PKGBUILD')
-rw-r--r--pcr/python2-gtkglext/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/python2-gtkglext/PKGBUILD b/pcr/python2-gtkglext/PKGBUILD
new file mode 100644
index 000000000..eb89d8ca6
--- /dev/null
+++ b/pcr/python2-gtkglext/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer (AUR): Frederik “Freso” S. Olesen <freso.dk@gmail.com>
+# Contributor (AUR): Swift Geek
+# Contributor (AUR): twa022 <twa022 at gmail dot com>
+# Contributor (AUR): simo <simo@archlinux.org>
+
+# parabola changes and rationale:
+# no changes
+
+pkgname=python2-gtkglext
+pkgver=1.1.0
+pkgrel=7
+pkgdesc='Python language bindings for GtkGLExt'
+arch=('i686' 'x86_64' 'armv7h')
+depends=('gtkglext' 'mesa' 'python2-opengl' 'pygtk')
+makedepends=('libxmu')
+url='https://projects.gnome.org/gtkglext/'
+source=("https://downloads.sourceforge.net/gtkglext/pygtkglext-$pkgver.tar.bz2")
+license=('LGPL')
+md5sums=('720b421d3b8514a40189b285dd91de57')
+
+build() {
+ cd "$srcdir/pygtkglext-$pkgver"
+ PYTHON='/usr/bin/python2' ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/pygtkglext-$pkgver"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" -name '*.la' -exec rm {} \;
+}