summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwojciechkepka2021-03-14 10:32:53 +0100
committerwojciechkepka2021-03-14 10:32:53 +0100
commit6ffcd1b8aec3e1aab7ea102298fe5e8e55b2e5ed (patch)
tree4f77bba09bc037000412ddfc56a020aa4d71568b
downloadaur-6ffcd1b8aec3e1aab7ea102298fe5e8e55b2e5ed.tar.gz
Initial upload
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD36
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8b2a7134d6f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = wutag
+ pkgdesc = CLI tool for tagging files
+ pkgver = 0.1.2
+ pkgrel = 1
+ url = https://github.com/wojciechkepka/wutag
+ arch = x86_64
+ license = MIT
+ provides = wutag
+ conflicts = wutag
+ source = https://github.com/wojciechkepka/wutag/releases/download/0.1.2/wutag-0.1.2-x86_64-unknown-linux.tar.xz
+ sha1sums = SKIP
+
+pkgname = wutag
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5e5381834df
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Wojciech Kepka <wojtek.kepka@protonmail.com>
+pkgname=wutag
+pkgver=0.1.2
+pkgrel=1
+epoch=
+pkgdesc="CLI tool for tagging files"
+arch=('x86_64')
+url="https://github.com/wojciechkepka/wutag"
+license=('MIT')
+depends=()
+makedepends=()
+provides=("wutag")
+conflicts=("wutag")
+sha1sums=('SKIP')
+source=("${url}/releases/download/${pkgver}/wutag-${pkgver}-x86_64-unknown-linux.tar.xz")
+
+build() {
+ cd "$pkgname"
+ ./wutag print-completions bash > wutag.bash
+ ./wutag print-completions fish > wutag.fish
+ ./wutag print-completions zsh > _wutag
+}
+
+package() {
+ ls -l
+ cd "$pkgname"
+ install -Dm755 "wutag" "$pkgdir/usr/bin/wutag"
+
+ install -Dm644 "wutag.1" "$pkgdir/usr/share/man/man1/wutag.1"
+ install -Dm644 "wutag.bash" "$pkgdir/usr/share/bash-completion/completions/wutag"
+ install -Dm644 "wutag.fish" "$pkgdir/usr/share/fish/vendor_completions.d/wutag.fish"
+ install -Dm644 "_wutag" "$pkgdir/usr/share/zsh/site-functions/_wutag"
+
+ install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+}