diff options
author | leo-arch | 2023-02-07 14:52:54 -0300 |
---|---|---|
committer | leo-arch | 2023-02-07 14:52:54 -0300 |
commit | f54f2f22695138252f0ebef348bcdcfa81dd4d18 (patch) | |
tree | 181997a23ed8a1032c17a2a795115ac882577f93 | |
download | aur-f54f2f22695138252f0ebef348bcdcfa81dd4d18.tar.gz |
Upload PKGBUILD
-rw-r--r-- | .SRCINFO | 33 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2dd0bfd81a49 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,33 @@ +pkgbase = clifm-bin + pkgdesc = The command line file manager (binary version) + pkgver = 1.10 + pkgrel = 1 + url = https://github.com/leo-arch/clifm + arch = i686 + arch = x86_64 + arch = armv7h + license = GPL2 + makedepends = make + makedepends = gzip + depends = libcap + depends = readline + depends = acl + depends = file + optdepends = archivemount: Archives mount + optdepends = atool: Archives/compression support + optdepends = p7zip: ISO 9660 support + optdepends = cdrtools: ISO 9660 support + optdepends = fzf: fzf mode for TAB completion + optdepends = smenu: smenu mode for TAB completion + optdepends = udevil: (un)mount storage devices + optdepends = udisks2: (un)mount storage devices + provides = clifm + conflicts = clifm + source_i686 = clifm-1.10-linux-i686.tar.gz::https://github.com/leo-arch/clifm/releases/download/v1.10/clifm-1.10-linux-i686.tar.gz + sha256sums_i686 = e92b9ddb959aab804a4c02aa6325bb5624cc4d90241349273735bb225da3b17f + source_x86_64 = clifm-1.10-linux-x86_64.tar.gz::https://github.com/leo-arch/clifm/releases/download/v1.10/clifm-1.10-linux-x86_64.tar.gz + sha256sums_x86_64 = 38ebcf10bd04478c6dccab2c98b47673947f3bb96e9ab8302f262f7caaaad324 + source_armv7h = clifm-1.10-linux-armv7h.tar.gz::https://github.com/leo-arch/clifm/releases/download/v1.10/clifm-1.10-linux-armv7h.tar.gz + sha256sums_armv7h = ee3c414088693bc2aa2c35dea7b7088f92cb8379a36e956ba9293dcb56a9f0df + +pkgname = clifm-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..93493c4f40ce --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: archcrack <johndoe.arch@outlook.com> + +pkgname=clifm-bin +_pkgname="${pkgname%-bin}" +pkgver=1.10 +pkgrel=1 +pkgdesc="The command line file manager (binary version)" +arch=('i686' 'x86_64' 'armv7h') +url="https://github.com/leo-arch/clifm" +license=(GPL2) +provides=("${_pkgname}") +conflicts=("${_pkgname}") +depends=('libcap' 'readline' 'acl' 'file') +makedepends=('make' 'gzip') +optdepends=( + 'archivemount: Archives mount' + 'atool: Archives/compression support' + 'p7zip: ISO 9660 support' + 'cdrtools: ISO 9660 support' + 'fzf: fzf mode for TAB completion' + 'smenu: smenu mode for TAB completion' + 'udevil: (un)mount storage devices' + 'udisks2: (un)mount storage devices' + ) +source_x86_64=("${_pkgname}-${pkgver}-linux-x86_64.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-x86_64.tar.gz") +source_i686=("${_pkgname}-${pkgver}-linux-i686.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-i686.tar.gz") +source_armv7h=("${_pkgname}-${pkgver}-linux-armv7h.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-armv7h.tar.gz") +sha256sums_x86_64=('38ebcf10bd04478c6dccab2c98b47673947f3bb96e9ab8302f262f7caaaad324') +sha256sums_i686=('e92b9ddb959aab804a4c02aa6325bb5624cc4d90241349273735bb225da3b17f') +sha256sums_armv7h=('ee3c414088693bc2aa2c35dea7b7088f92cb8379a36e956ba9293dcb56a9f0df') + +package() { + install -Dm 0755 "bin/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" + install -m 0755 -d "${pkgdir}/usr/share/${_pkgname}" + cp -r --preserve=mode -- files/* "${pkgdir}/usr/share/${_pkgname}" + install -m 0755 -d "${pkgdir}/usr/share/bash-completion/completions" + install -m 0755 -d "${pkgdir}/usr/share/zsh/site-functions" + install -m 0755 -d "${pkgdir}/usr/share/applications" + install -m 0755 -d "${pkgdir}/usr/share/icons/hicolor/scalable/apps" + install -m 0755 -d "${pkgdir}/usr/share/man/man1" + install -m 0644 completions.bash "${pkgdir}/usr/share/bash-completion/completions/${_pkgname}" + install -m 0644 completions.zsh "${pkgdir}/usr/share/zsh/site-functions/_${_pkgname}" + install -m 0644 ${_pkgname}.desktop "${pkgdir}/usr/share/applications" + install -m 0644 ${_pkgname}.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps" + install -m 0644 ${_pkgname}.1.gz "${pkgdir}/usr/share/man/man1" +} |