summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorarchcrack2021-05-06 14:41:15 -0300
committerarchcrack2021-05-06 14:41:15 -0300
commit5c2ad23c2646b275d777e1f435a70890377f2cb1 (patch)
tree821cab2f5c4f51d19d411e0ca401ff33a62239e9
parentece5a5c98c14462521ea760954e8d0cedc5c3562 (diff)
downloadaur-5c2ad23c2646b275d777e1f435a70890377f2cb1.tar.gz
Add zsh completions
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4aeea24eef8..5db2578fc49 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = clifm-git
pkgdesc = The KISS file manager: cli-based, ultra-lightweight, and lightning fast (development version)
- pkgver = 1.0.2.g7443a21
+ pkgver = 1.0.r148.g05714e7
pkgrel = 1
url = https://github.com/leo-arch/clifm
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 5ba0dfe2404..3920cf1c524 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=clifm-git
_pkgname=clifm
-pkgver=1.0.2.g7443a21
+pkgver=1.0.r148.g05714e7
pkgrel=1
pkgdesc="The KISS file manager: cli-based, ultra-lightweight, and lightning fast (development version)"
arch=('i686' 'pentium4' 'x86_64' 'arm' 'aarch64' 'armv7h')
@@ -29,17 +29,18 @@ pkgver() {
}
build() {
- cd "$srcdir/$_pkgname"
+ cd "$srcdir/$_pkgname/src"
gcc -O3 -march=native -s -fstack-protector-strong -o "$_pkgname" "${_pkgname}.c" -lreadline -lacl -lcap
}
package() {
cd "$srcdir/$_pkgname"
- install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
+ install -Dm755 "src/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
install -g 0 -o 0 -Dm644 manpage "$pkgdir/usr/share/man/man1/${_pkgname}.1"
gzip -9n "$pkgdir/usr/share/man/man1/$_pkgname.1"
install -g 0 -o 0 -Dm644 "${_pkgname}.desktop" "$pkgdir/usr/share/applications/${_pkgname}.desktop"
install -g 0 -o 0 -Dm644 completions.bash "$pkgdir/usr/share/bash-completion/completions/${_pkgname}"
+ install -g 0 -o 0 -Dm644 completions.zsh "$pkgdir/usr/share/zsh/site-functions/_${_pkgname}"
install -g 0 -o 0 -Dm644 "translations/spanish/${_pkgname}.mo" "$pkgdir/usr/share/locale/es/LC_MESSAGES/${_pkgname}.mo"
mkdir -p "$pkgdir/usr/share/$_pkgname"
cp -r plugins "$pkgdir/usr/share/$_pkgname"