From aee4b0e39fc304b4f0fbae3e292ea652fa891667 Mon Sep 17 00:00:00 2001 From: neodarz Date: Mon, 7 May 2018 19:25:16 +0200 Subject: Add some usefull programm --- PKGBUILD/exa-icons-fork-git/.SRCINFO | 23 +++++++++++++++++++++ PKGBUILD/exa-icons-fork-git/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 PKGBUILD/exa-icons-fork-git/.SRCINFO create mode 100644 PKGBUILD/exa-icons-fork-git/PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD/exa-icons-fork-git/.SRCINFO b/PKGBUILD/exa-icons-fork-git/.SRCINFO new file mode 100644 index 0000000..54cfe19 --- /dev/null +++ b/PKGBUILD/exa-icons-fork-git/.SRCINFO @@ -0,0 +1,23 @@ +# Generated by mksrcinfo v8 +# Wed Sep 13 10:54:42 UTC 2017 +pkgbase = exa-git + pkgdesc = Replacement for ls written in Rust. + pkgver = 991 + pkgrel = 1 + url = https://github.com/ogham/exa + arch = i686 + arch = x86_64 + license = MIT + makedepends = cmake + makedepends = rust + makedepends = cargo + makedepends = git + depends = libssh2 + depends = zlib + provides = exa + conflicts = exa + source = git+https://github.com/ogham/exa.git + md5sums = SKIP + +pkgname = exa-git + diff --git a/PKGBUILD/exa-icons-fork-git/PKGBUILD b/PKGBUILD/exa-icons-fork-git/PKGBUILD new file mode 100644 index 0000000..454ae71 --- /dev/null +++ b/PKGBUILD/exa-icons-fork-git/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: tuftedocelot@fastmail.fm +_pkgname=exa +pkgname=${_pkgname}-git +pkgver=1095 +pkgrel=1 +pkgdesc='Replacement for ls written in Rust.' +arch=('i686' 'x86_64') +url="https://github.com/asoderman/exa" +license=('MIT') +depends=('libssh2' 'zlib') +makedepends=('cmake' 'rust' 'cargo' 'git') +provides=('exa') +conflicts=('exa') +source=("git+https://github.com/asoderman/exa.git#branch=glyphs") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + git rev-list --count HEAD +} + +package() { + make -C "$pkgname" +} + +package() { + cd "$srcdir/$_pkgname" + mkdir -p "$pkgdir/usr/bin" + make PREFIX="$pkgdir/usr" install + install -Dm644 contrib/completions.bash \ + "$pkgdir/etc/bash_completion.d/$pkgname" + install -Dm644 contrib/completions.zsh \ + "$pkgdir/usr/share/zsh/site-functions/_$pkgname" + install -Dm644 contrib/completions.fish \ + "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish" + install -Dm644 LICEN?E \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 "$srcdir/$_pkgname/contrib/man/$_pkgname.1" "$pkgdir/usr/share/man/man1/$_pkgname.1" +} -- cgit v1.2.1