[arch-commits] Commit in (python-gd python-gd/trunk python-gd/trunk/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Dec 21 09:30:43 UTC 2014


    Date: Sunday, December 21, 2014 @ 10:30:42
  Author: arojas
Revision: 124260

Splitting sage-mathematics

Added:
  python-gd/
  python-gd/trunk/
  python-gd/trunk/PKGBUILD

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

Added: python-gd/trunk/PKGBUILD
===================================================================
--- python-gd/trunk/PKGBUILD	                        (rev 0)
+++ python-gd/trunk/PKGBUILD	2014-12-21 09:30:42 UTC (rev 124260)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <remy at archlinux.org>
+
+pkgbase=python-gd
+pkgname=('python2-gd')
+arch=('i686' 'x86_64')
+pkgver=0.58
+pkgrel=1
+pkgdesc="Python bindings for the gd library"
+license=("BSD")
+url="https://github.com/Solomoriah/gdmodule/"
+depends=('python2' 'gd')
+source=("https://github.com/Solomoriah/gdmodule/archive/v$pkgver.tar.gz")
+md5sums=('330edf336f38ede060908ce8bc6a6ce0')
+
+build() {
+  cd gdmodule-$pkgver
+  python2 Setup.py build
+}
+
+package_python2-gd() {
+  cd gdmodule-$pkgver
+  python2 Setup.py install --root="$pkgdir" --optimize=1
+
+  install -d "$pkgdir"/usr/share/licenses/python2-gd
+  install -m644 LICENSE "$pkgdir"/usr/share/licenses/python2-gd
+}


Property changes on: python-gd/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list