summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChmouel Boudjnah2021-11-23 23:01:50 +0100
committerChmouel Boudjnah2021-11-23 23:01:50 +0100
commit40e68dabca91e8e8f9e67f03e6e1d638aa821617 (patch)
tree1f1e80928019851af6c2983dcd0bd08f28670b7a
downloadaur-40e68dabca91e8e8f9e67f03e6e1d638aa821617.tar.gz
first version of batzconverter package
Signed-off-by: Chmouel Boudjnah <chmouel@chmouel.com>
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD23
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6a3701ec61f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = batz-converter
+ pkgdesc = Show and convert timezone in shell
+ pkgver = 1.1.0
+ pkgrel = 1
+ url = https://github.com/chmouel/batzconverter
+ arch = any
+ groups = utils
+ license = Apache
+ depends = bash
+ source = batzconverter_1.1.0-1.tar.gz::https://github.com/chmouel/batzconverter/archive/refs/tags/1.1.0.tar.gz
+ sha512sums = e3edf846756a22a1f366afc8d04539d0aa31385a4f501d3d50d9d5f6e500d3e45b4fe5437ba94bc58be1649482a636541a51139a4d02d3a5903137441aa803ab
+
+pkgname = batz-converter
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..51dd4737864
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Chmouel Boudjnah <chmouel@chmouel.com>
+
+pkgname=batz-converter
+rpkgname=batzconverter
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Show and convert timezone in shell"
+arch=('any')
+url="https://github.com/chmouel/${rpkgname}"
+license=('Apache')
+groups=('utils')
+depends=('bash')
+source=("${rpkgname}_${pkgver}-${pkgrel}.tar.gz::https://github.com/chmouel/${rpkgname}/archive/refs/tags/${pkgver}.tar.gz")
+sha512sums=('e3edf846756a22a1f366afc8d04539d0aa31385a4f501d3d50d9d5f6e500d3e45b4fe5437ba94bc58be1649482a636541a51139a4d02d3a5903137441aa803ab')
+
+
+package() {
+ cd "${srcdir}/${rpkgname}-${pkgver}"
+
+ # install binary
+ install -D -m0755 batz.sh "${pkgdir}/usr/bin/batz"
+}
+