summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3188f8c5f14902d5064f76737e4bc5b0189ed9ea (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.3
pkgrel=1
url="https://github.com/unixsheikh/salahtime"
pkgdesc="A small command line application written in C that displays the Islamic prayer times for Europe/Copenhagen"
arch=('any')
license=('The Unlicense')

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

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