summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorarchcrack2021-01-27 23:42:54 -0300
committerarchcrack2021-01-27 23:42:54 -0300
commitdc3b458bfb2e767bd9a6a5caeff9cd6c47bf1f6d (patch)
treebf7875cd7832f3cf3039dc09921715b8c54ed6bc
downloadaur-dc3b458bfb2e767bd9a6a5caeff9cd6c47bf1f6d.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD27
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4c857bcd24d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = clifm
+ pkgdesc = The KISS file manager: cli-based, ultra-lightweight, and lightning fast
+ pkgver = 0.27.1
+ pkgrel = 2
+ url = https://github.com/leo-arch/clifm
+ arch = any
+ license = GPL2
+ makedepends = git
+ depends = ncurses
+ depends = libcap
+ depends = file
+ optdepends = sshfs: SFTP support
+ optdepends = cifs-utils: Samba support
+ optdepends = curlftpfs: FTPFS support
+ optdepends = archivemount: Archives mount
+ optdepends = atool: Archives/compression support
+ source = git+https://github.com/leo-arch/clifm.git
+ sha256sums = SKIP
+
+pkgname = clifm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..35cf870e0e6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: archcrack <johndoe.arch@outlook.com>
+
+pkgname=clifm
+pkgver=0.27.1
+pkgrel=2
+pkgdesc="The KISS file manager: cli-based, ultra-lightweight, and lightning fast"
+arch=(any)
+url="https://github.com/leo-arch/clifm"
+license=(GPL2)
+depends=('ncurses' 'libcap' 'file')
+makedepends=('git')
+optdepends=('sshfs: SFTP support' 'cifs-utils: Samba support' 'curlftpfs: FTPFS support' 'archivemount: Archives mount' 'atool: Archives/compression support')
+source=("git+${url}.git")
+sha256sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname"
+ 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 -g 0 -o 0 -Dm644 manpage "$pkgdir/usr/share/man/man1/${pkgname}.1"
+ gzip "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+ install -g 0 -o 0 -Dm644 "translations/spanish/${pkgname}.mo" "$pkgdir/usr/share/locale/es/LC_MESSAGES/${pkgname}.mo"
+}