summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 94ce75dcae69888131cb05ce942d3e0b1bf6418d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Konstantin Pereiaslov <perk11@perk11.info>
pkgname=runwhenidle
pkgver=0.3.0
pkgrel=1
pkgdesc="Run a computentionally intensive program when user is not in front of the computer."
arch=('x86_64')
url="https://github.com/perk11/runwhenidle"
license=('GPL')
depends=('libxss' 'libxext' 'libx11' 'libxdmcp' 'libxau' 'libxcb')
makedepends=('git')
_tag=efa21a0f20c2896161cdc407f80584ff32ad4df3 #git rev-parse $pkgver
source=("git+https://github.com/perk11/runwhenidle.git?signed#tag=$_tag")
sha256sums=('SKIP')

build() {
	cd $pkgname
	make release
	strip ./runwhenidle
}

package() {
	install -Dm755 $pkgname/runwhenidle "$pkgdir"/usr/bin/$pkgname
}