summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d67511591d73a04be1568f94d7022c90681b2af3 (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
# Maintainer: Unix Sheikh <unixsheikh at protonmail dot com>

pkgname=salahtime
pkgver=1.0.0
pkgrel=1
url="https://github.com/unixsheikh/salahtime"
pkgdesc="A small C program for displaying the Islamic prayer time for Copenhagen in Denmark"
arch=('any')
license=('The Unlicense')

source=("https://github.com/unixsheikh/salahtime/archive/1.0.0.zip")
md5sums=('c011e5eb216961d7f71579612c2adec9')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make CC=gcc
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -Dm755 "salahtime" "$pkgdir/usr/bin/salahtime"
  gzip salahtime.1
  install -Dm755 "salahtime.1.gz" "$pkgdir/usr/share/man/man1/salahtime.1.gz"
}