summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhayao2021-05-03 13:18:41 +0900
committerhayao2021-05-03 13:18:41 +0900
commitc475662c3e8e11ce31f77b02d20ec3b81a36de5d (patch)
tree64f072c2e0ff04da15c0fcda26456f6a5ccfd100
downloadaur-getoptions-git.tar.gz
[add] : Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD27
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0231d5afd3a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = getoptions-git
+ pkgdesc = An elegant option/argument parser for shell scripts (git version)
+ pkgver = 3.3.0
+ pkgrel = 1
+ url = https://github.com/ko1nksm/getoptions
+ arch = any
+ license = CC0-1.0
+ conflicts = getoptions
+ source = git+https://github.com/ko1nksm/getoptions.git
+ md5sums = SKIP
+
+pkgname = getoptions-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1e669e13f10
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Yamada Hayao <development@fascode.net>
+
+_pkgname="getoptions"
+pkgname="${_pkgname}-git"
+pkgdesc="An elegant option/argument parser for shell scripts (git version)"
+pkgver="3.3.0"
+pkgrel="1"
+
+arch=('any')
+url="https://github.com/ko1nksm/getoptions"
+license=('CC0-1.0')
+conflicts=("${_pkgname}")
+
+source=("git+${url}.git")
+md5sums=('SKIP')
+
+_dir="getoptions"
+
+build(){
+ cd "${srcdir}/${_dir}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${_dir}"
+ make install PREFIX="${pkgdir}/usr/bin/"
+}