summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiacomo Comitti2019-09-05 19:16:55 +0200
committerGiacomo Comitti2019-09-05 19:16:55 +0200
commitf132b4b223b21a5622c72cafaf063c90b01e6828 (patch)
treebab823f8a9df330c7713ae6351c2e87b9e4f0d25
downloadaur-f132b4b223b21a5622c72cafaf063c90b01e6828.tar.gz
First release
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD25
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4927832a115
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = mktree
+ pkgdesc = Simple tool for creating directory trees in one shot
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://github.com/gcmt/mktree
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = asciidoc
+ depends = python
+ provides = mktree
+ conflicts = mktree
+ source = mktree-0.1::git+https://github.com/gcmt/mktree
+ sha1sums = SKIP
+
+pkgname = mktree
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b74159f299a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Giacomo Comitti <dev@gcomit.com>
+pkgname=mktree
+pkgver=0.1
+_pkgname="${pkgname}-${pkgver}"
+pkgrel=1
+pkgdesc="Simple tool for creating directory trees in one shot"
+arch=("i686" "x86_64")
+url="https://github.com/gcmt/mktree"
+license=("MIT")
+provides=("mktree")
+conflicts=("mktree")
+depends=("python")
+makedepends=("git" "asciidoc")
+source=("${_pkgname}::git+https://github.com/gcmt/mktree")
+sha1sums=("SKIP")
+
+pkgver() {
+ git -C "${_pkgname}" describe --tags | sed "s/-/./g"
+}
+
+package() {
+ install -Dm755 "${_pkgname}/mktree" "${pkgdir}/usr/bin/mktree"
+ install -Dm644 "${_pkgname}/mktree.1" "${pkgdir}/usr/share/man/man1/mktree.1"
+ install -Dm644 "${_pkgname}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}