Date: Wednesday, February 14, 2018 @ 14:27:33
  Author: dvzrv
Revision: 294360

upgpkg: python-schedutils 0.6-3

Rebuild for community. Adding docs to python2-schedutils as well.

Modified:
  python-schedutils/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-14 14:27:12 UTC (rev 294359)
+++ PKGBUILD    2018-02-14 14:27:33 UTC (rev 294360)
@@ -5,7 +5,7 @@
 pkgbase=python-schedutils
 pkgname=('python-schedutils' 'python2-schedutils')
 pkgver=0.6
-pkgrel=2
+pkgrel=3
 pkgdesc="Python interface for the Linux scheduler functions etc."
 arch=('x86_64')
 
url="https://git.kernel.org/cgit/libs/python/python-schedutils/python-schedutils.git/";
@@ -16,7 +16,7 @@
 
 
 prepare() {
-  cp -a "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}"
+  cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}"
 }
 
 build() {
@@ -33,7 +33,7 @@
     --optimize=1 \
     --prefix=/usr \
     --root="${pkgdir}/"
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" -vDm644 {ChangeLog,README}
+  install -t "${pkgdir}/usr/share/doc/${pkgname[0]}" -vDm644 {ChangeLog,README}
 }
 
 package_python2-schedutils() {
@@ -43,6 +43,7 @@
     --optimize=1 \
     --prefix=/usr \
     --root="${pkgdir}/"
+  install -t "${pkgdir}/usr/share/doc/${pkgname[1]}" -vDm644 {ChangeLog,README}
   mv -v "${pkgdir}/usr/bin/pchrt" "${pkgdir}/usr/bin/pchrt2"
   mv -v "${pkgdir}/usr/bin/ptaskset" "${pkgdir}/usr/bin/ptaskset2"
   mv -v "${pkgdir}/usr/share/man/man1/pchrt.1" \

Reply via email to