archrelease: copy trunk to community-any
[ArchLinux/community.git] / schedtool / repos / community-x86_64 / PKGBUILD
blob4e42f36c9ef5ab09d0ce4d4e9c6680990ee3fd76
1 # Maintainer: David Runge <dave@sleepmap.de>
2 # Contributor: Ray Rashif <schiv@archlinux.org>
3 # Contributor: James Rayner <james@archlinux.org>
5 pkgname=schedtool
6 pkgver=1.3.0
7 pkgrel=7
8 pkgdesc="Query or alter a process' scheduling policy"
9 arch=('x86_64')
10 url="https://github.com/freequaos/schedtool"
11 license=('GPL2')
12 groups=('realtime')
13 depends=('glibc')
14 source=("https://github.com/freequaos/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
15 sha512sums=('71b7bbc91ee86a83639b179c8cce70e0fd3acca3af3cbc51880cf1f177fdd901e1fb6d0ecea2aa40761608589e7b903431ac97d5046f9ec50535bad691af2964')
17 prepare() {
18   mv -v "$pkgname-$pkgname-$pkgver" "$pkgname-$pkgver"
19   cd "$pkgname-$pkgver"
20   # fix install location of docs
21   sed -e 's/(RELEASE)/(TARGET)/g' -i Makefile
24 build() {
25   cd "$pkgname-$pkgver"
26   make
29 package() {
30   cd "$pkgname-$pkgver"
31   make DESTPREFIX="$pkgdir/usr" install
34 # vim:set ts=2 sw=2 et: