summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 55e51d170a6a263773fe8393c5643f0c6a254e65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Heliocron

# Maintainer: Andrea Feletto <andrea@andreafeletto.com>

pkgname=heliocron-bin
_pkgname=${pkgname%-*}
pkgver=0.4.0
pkgrel=1
pkgdesc='Execute tasks relative to sunset, sunrise and other solar events.'
arch=('x86_64')
url='https://github.com/mfreeborn/heliocron'
license=('Apache' 'MIT')
provides=('heliocron')
source=(
	"https://github.com/mfreeborn/$_pkgname/releases/download/v$pkgver/$_pkgname-v$pkgver-x86_64-unknown-linux-gnu.tar.gz"
)
sha256sums=(
	'83cd3d97d0b32a624069f16a82991ad7ee01826ee9532d124cce6eff4aea6b0d'
)

package() {
	install -d "$pkgdir/usr/bin"
	cd "$srcdir/$_pkgname-v$pkgver-x86_64-unknown-linux-gnu"
	mv "$_pkgname" "$pkgdir/usr/bin"
}