ci: update PKGBUILD template as per suggestions
This commit is contained in:
parent
5e0ab22645
commit
279504e401
|
@ -56,7 +56,6 @@ before_deploy:
|
|||
zip bottom_i686-pc-windows-msvc.zip "btm.exe";
|
||||
python "./deployment/windows/choco/choco_packager.py" "bottom_i686-pc-windows-msvc.zip" "bottom_x86_64-pc-windows-msvc.zip" $TRAVIS_TAG "./deployment/windows/choco/bottom.nuspec.template" "./deployment/windows/choco/chocolateyinstall.ps1.template";
|
||||
zip choco.zip "./deployment/windows/choco/bottom.nuspec" "./deployment/windows/choco/tools/";
|
||||
choco install dotnet4.5.1;
|
||||
choco install wixtoolset;
|
||||
cargo install cargo-wix;
|
||||
cargo wix init;
|
||||
|
|
|
@ -8,7 +8,7 @@ provides=('bottom')
|
|||
makedepends=('cargo')
|
||||
arch=('x86_64')
|
||||
url="https://github.com/ClementTsang/bottom"
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/ClementTsang/bottom/releases/download/$pkgver/bottom_required_files.tar.gz")
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/ClementTsang/bottom/archive/$pkgver.tar.gz")
|
||||
license=('MIT')
|
||||
sha512sums=('$hash')
|
||||
|
||||
|
@ -16,8 +16,11 @@ build() {
|
|||
cargo build --release --locked
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --release --locked
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 target/release/btm "$pkgdir/usr/bin/btm"
|
||||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
||||
cd "./target/release"
|
||||
install -Dm755 btm "$pkgdir/usr/bin/btm"
|
||||
}
|
Loading…
Reference in New Issue