Comments (3)
@Trollwut You can use the PKGBUILD below. I don't want to maintain an AUR package, however, because I'm not using as-tree
since tree
satisfies my needs (see #11).
# Contributor: donbex <ap dot m at runbox dot com>
pkgname=as-tree
pkgver=0.12.0
pkgrel=1
pkgdesc="Print a list of paths as a tree of paths"
arch=('x86_64')
url="https://github.com/jez/as-tree"
license=('custom:BOML')
depends=('gcc-libs')
makedepends=('cargo')
#checkdepends=()
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jez/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('77cf5584fced10b16c53ccb4c25224f7')
prepare() {
cd "$pkgname-$pkgver"
# Update the lock file. Shouldn't be needed with releases after v0.12.0.
sed -i "s/version = \"0.11.1\"/version = \"${pkgver}\"/" Cargo.lock
}
build() {
cd "$pkgname-$pkgver"
cargo build --release --locked --all-features --target-dir=target
}
package() {
cd "$pkgname-$pkgver"
install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
install -Dm 644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
}
from as-tree.
Hey, I don’t use Arch and I’ve never packaged anything for AUR. If you create a package I’d be happy to mention it in the README.
from as-tree.
as-tree is available on the AUR (https://aur.archlinux.org/packages/as-tree/), so I think this ticket can be closed.
from as-tree.
Related Issues (14)
- Windows build? HOT 1
- Difference with `tree` HOT 2
- about tree views ?
- Publish on crates.io HOT 1
- Thread panic - broken pipe when piping output to pager HOT 9
- If piped output is empty can as-tree not print new line?
- [Request]: Release on Homebrew HOT 3
- Option to group directories last HOT 3
- Use any character als Directory separator
- Add support for musl release package
- [CR]: remove token from .travis.yml? HOT 2
- Windows Support/Binary ? HOT 2
- Add option to group directories first
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from as-tree.