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

David Runge dvzrv at archlinux.org
Thu Nov 8 17:54:05 UTC 2018


    Date: Thursday, November 8, 2018 @ 17:54:05
  Author: dvzrv
Revision: 404139

upgpkg: schedtool 1.3.0-5

Adding new maintainer. Switching to correct license (GPL2). Switching to new (github) upstream for url and source. Adding glibc to depends. Adding fix for install location of documentation. Minor fixes.

Modified:
  schedtool/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-08 17:30:15 UTC (rev 404138)
+++ PKGBUILD	2018-11-08 17:54:05 UTC (rev 404139)
@@ -1,25 +1,32 @@
-# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
 # Contributor: James Rayner <james at archlinux.org>
 
 pkgname=schedtool
 pkgver=1.3.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Query or alter a process' scheduling policy"
 arch=('x86_64')
-url="http://freequaos.host.sk/schedtool/"
-license=('GPL')
-#source=(http://freequaos.host.sk/schedtool/$pkgname-$pkgver.tar.bz2)
-_altsrc="http://pkgs.fedoraproject.org/repo/pkgs/schedtool/schedtool-1.3.0.tar.bz2"
-source=("$_altsrc/0d968f05d3ad7675f1f33ef1f6d0a3fb/schedtool-1.3.0.tar.bz2")
-md5sums=('0d968f05d3ad7675f1f33ef1f6d0a3fb')
+url="https://github.com/freequaos/schedtool"
+license=('GPL2')
+depends=('glibc')
+source=("https://github.com/freequaos/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('71b7bbc91ee86a83639b179c8cce70e0fd3acca3af3cbc51880cf1f177fdd901e1fb6d0ecea2aa40761608589e7b903431ac97d5046f9ec50535bad691af2964')
 
+prepare() {
+  mv -v "$pkgname-$pkgname-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # fix install location of docs
+  sed -e 's/(RELEASE)/(TARGET)/g' -i Makefile
+}
+
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
   make DESTPREFIX="$pkgdir/usr" install
 }
 


More information about the arch-commits mailing list