summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnix Sheikh2019-07-05 23:46:29 +0200
committerUnix Sheikh2019-07-05 23:46:29 +0200
commitdf82c12f854fb39e4fc03677b720f2b4b6a9c672 (patch)
treebc9646f2a3ab3ed3e53c527f5ee4842d1763a9b6
downloadaur-df82c12f854fb39e4fc03677b720f2b4b6a9c672.tar.gz
Initial submission to AUR
-rw-r--r--.SRCINFO12
-rwxr-xr-xPKGBUILD22
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..87f4a8788e1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = salahtime-go
+ pkgdesc = A small command line application written in Go that displays the Islamic prayer times for Europe/Copenhagen
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://github.com/unixsheikh/salahtime-go
+ arch = any
+ license = The Unlicense
+ source = https://github.com/unixsheikh/salahtime-go/archive/1.0.0.zip
+ md5sums = 110eddb9d8041de6f74101d108c445bf
+
+pkgname = salahtime-go
+
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"
+}