summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d2047dc27243cc7be79127eeb6a07982694707c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Unix Sheikh <unixsheikh at protonmail dot com>

pkgname=salahtime-go
pkgver=1.0.0
pkgrel=1
url="https://github.com/unixsheikh/salahtime-go"
pkgdesc="A small command line application written in Go that displays the Islamic prayer times for Europe/Copenhagen"
arch=('any')
license=('The Unlicense')

source=("https://github.com/unixsheikh/salahtime-go/archive/1.0.0.zip")
md5sums=('110eddb9d8041de6f74101d108c445bf')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  go build -o salahtime-go salahtime.go
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -Dm755 "salahtime-go" "$pkgdir/usr/bin/salahtime-go"
}