summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5bcd7b41a10ea387f5267eb6908917e9e2d78b69 (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.2
pkgrel=1
url="https://github.com/unixsheikh/salahtime"
pkgdesc="A small C program for displaying the Islamic prayer time for Europe/Copenhagen"
arch=('any')
license=('The Unlicense')

source=("https://github.com/unixsheikh/salahtime/archive/1.0.2.zip")
md5sums=('3f983739d72510114cb5f5de3908e3ed')

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"
}