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

Antonio Rojas arojas at archlinux.org
Thu May 14 15:44:59 UTC 2015


    Date: Thursday, May 14, 2015 @ 17:44:59
  Author: arojas
Revision: 133442

Fix license (FS#44263)

Modified:
  python-sphinx/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-14 15:42:12 UTC (rev 133441)
+++ PKGBUILD	2015-05-14 15:44:59 UTC (rev 133442)
@@ -6,10 +6,10 @@
 pkgbase=python-sphinx
 pkgname=('python-sphinx' 'python2-sphinx')
 pkgver=1.3.1
-pkgrel=6
+pkgrel=7
 arch=('any')
 url='http://sphinx.pocoo.org/'
-license=('GPL')
+license=('BSD')
 makedepends=(
   'python-setuptools'
   'python-docutils'
@@ -75,6 +75,8 @@
 
   cd Sphinx-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 "$srcdir"/Sphinx-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/python-sphinx/LICENSE
 }
 
 package_python2-sphinx() {
@@ -85,6 +87,8 @@
 
   cd Sphinx-${pkgver}2
   python2 setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 "$srcdir"/Sphinx-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/python2-sphinx/LICENSE
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list