summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorleo-arch2021-08-17 04:23:06 -0300
committerleo-arch2021-08-17 04:23:06 -0300
commit9f8cc9112c1dbb377d09520c809964dcfc8b5674 (patch)
tree452c5eb89aa27d21ef26911104e90a3e38e2decc
parenta7d9c167ce6bcd2fbb5283191b0869f40ffbb468 (diff)
downloadaur-9f8cc9112c1dbb377d09520c809964dcfc8b5674.tar.gz
Add file dependency
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD24
2 files changed, 5 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ac5a8088f3..33642831399 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = clifm-git
pkgdesc = The KISS, non-curses terminal file manager (development version)
- pkgver = 1.0.r383.g6af94b9
+ pkgver = 1.1.r346.gec633a5
pkgrel = 1
url = https://github.com/leo-arch/clifm
arch = i686
@@ -14,9 +14,7 @@ pkgbase = clifm-git
depends = libcap
depends = readline
depends = acl
- optdepends = sshfs: SFTP support
- optdepends = cifs-utils: Samba support
- optdepends = curlftpfs: FTPFS support
+ depends = file
optdepends = archivemount: Archives mount
optdepends = atool: Archives/compression support
optdepends = p7zip: ISO 9660 support
diff --git a/PKGBUILD b/PKGBUILD
index 21957d62c65..d4e0ca1a630 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,16 @@
pkgname=clifm-git
_pkgname=clifm
-pkgver=1.0.r383.g6af94b9
+pkgver=1.1.r346.gec633a5
pkgrel=1
pkgdesc="The KISS, non-curses terminal file manager (development version)"
arch=('i686' 'pentium4' 'x86_64' 'arm' 'aarch64' 'armv7h')
url="https://github.com/leo-arch/clifm"
license=(GPL2)
provides=('clifm')
-depends=('libcap' 'readline' 'acl')
+depends=('libcap' 'readline' 'acl' 'file')
makedepends=('git')
optdepends=(
- 'sshfs: SFTP support'
- 'cifs-utils: Samba support'
- 'curlftpfs: FTPFS support'
'archivemount: Archives mount'
'atool: Archives/compression support'
'p7zip: ISO 9660 support'
@@ -28,22 +25,7 @@ pkgver() {
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
-build() {
- cd "$srcdir/$_pkgname/src"
- gcc -O3 -s -fstack-protector-strong -march=native -Wall -o "$_pkgname" *.c -lreadline -lacl -lcap
-}
-
package() {
cd "$srcdir/$_pkgname"
- install -Dm755 "src/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
- install -Dm644 misc/manpage "$pkgdir/usr/share/man/man1/${_pkgname}.1"
- gzip -9n "$pkgdir/usr/share/man/man1/$_pkgname.1"
- install -Dm644 misc/"${_pkgname}.desktop" "$pkgdir/usr/share/applications/${_pkgname}.desktop"
- install -Dm644 misc/completions.bash "$pkgdir/usr/share/bash-completion/completions/${_pkgname}"
- install -Dm644 misc/completions.zsh "$pkgdir/usr/share/zsh/site-functions/_${_pkgname}"
- install -Dm644 "translations/spanish/${_pkgname}.mo" "$pkgdir/usr/share/locale/es/LC_MESSAGES/${_pkgname}.mo"
- install -Dm644 misc/mimelist.cfm "$pkgdir/usr/share/$_pkgname/mimelist.cfm"
- install -Dm644 "images/logo/${_pkgname}.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg"
- cp -r plugins "$pkgdir/usr/share/$_pkgname"
- cp -r functions "$pkgdir/usr/share/$_pkgname"
+ make DESTDIR="${pkgdir}" MANDIR=/usr/share/man PREFIX=/usr install
}