blob: 75598ac2346cde1d72ee7b512e2c0236c17005f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Tobias Brox <t-arch@tobixen.no>
pkgname=thrash-protect
pkgver=0.14.3
pkgrel=1
pkgdesc="Simple-Stupid user-space program protecting a linux host from thrashing."
url="https://github.com/tobixen/thrash-protect"
arch=('any')
license=('GPL')
depends=('python')
source=("https://github.com/tobixen/$pkgname/archive/v$pkgver.tar.gz")
package() {
mkdir -p "$pkgdir/usr/lib/systemd/system"
mkdir -p "$pkgdir/usr/bin/"
ln -s "$pkgdir/usr/bin/" "$pkgdir/usr/sbin"
cd "$srcdir/$pkgname-$pkgver/"
make PREFIX=$pkgdir/usr INSTALL_ROOT=$pkgdir install
rm "$pkgdir/usr/sbin"
}
sha256sums=('c65dcef2a79b9bb565da03676991dca314684db8c78e30deb4f4149b51c6e700')
|