summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorUnix Sheikh2019-07-05 23:46:29 +0200
committerUnix Sheikh2019-07-05 23:46:29 +0200
commitdf82c12f854fb39e4fc03677b720f2b4b6a9c672 (patch)
treebc9646f2a3ab3ed3e53c527f5ee4842d1763a9b6 /PKGBUILD
downloadaur-df82c12f854fb39e4fc03677b720f2b4b6a9c672.tar.gz
Initial submission to AUR
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..d2047dc2724
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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"
+}