exa: use create_wrksrc

This commit is contained in:
Marcin Puc 2022-10-22 00:31:16 +02:00 committed by classabbyamp
parent 2d40ceccc5
commit 83dbfab8d2
1 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,8 @@
pkgname=exa
version=0.10.1
revision=2
create_wrksrc=yes
build_wrksrc="${pkgname}-${version}"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libgit2-devel"
@ -15,9 +17,8 @@ checksum="ff0fa0bfc4edef8bdbbb3cabe6fdbd5481a71abbbcc2159f402dea515353ae7c
531596a1ef2a757c7728087529528150e6eb52bb8224fe575aa00a5f1b762849"
post_extract() {
mkdir -p accoutrements
mv ../man accoutrements/
mv ../completions accoutrements/
mkdir "${build_wrksrc}/accoutrements"
mv man "${build_wrksrc}/accoutrements/"
}
post_install() {