mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 12:41:55 +01:00
update to 0.8.5
This commit is contained in:
parent
d8f26b5f89
commit
b5687d583e
2 changed files with 23 additions and 22 deletions
9
.SRCINFO
9
.SRCINFO
|
|
@ -1,16 +1,17 @@
|
|||
pkgbase = evtx
|
||||
pkgdesc = Cross-platform parser for Windows XML EventLog Format
|
||||
pkgver = 0.8.4
|
||||
pkgver = 0.8.5
|
||||
pkgrel = 1
|
||||
url = https://github.com/omerbenamram/evtx
|
||||
changelog = CHANGELOG.md
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
license = Apache
|
||||
license = Apache-2.0
|
||||
makedepends = cargo
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
options = !lto
|
||||
source = evtx-0.8.4.tar.gz::https://github.com/omerbenamram/evtx/archive/v0.8.4.tar.gz
|
||||
sha256sums = 4273643dbcc5ec25484e393c14fd03e4749868703fc1d3d966e95016637ebd1c
|
||||
source = evtx-0.8.5.tar.gz::https://github.com/omerbenamram/evtx/archive/v0.8.5.tar.gz
|
||||
sha256sums = 92076a952e0d83efca42510c394c14a3ee890a47443b8817551fa41900eada9f
|
||||
|
||||
pkgname = evtx
|
||||
|
|
|
|||
36
PKGBUILD
36
PKGBUILD
|
|
@ -2,41 +2,41 @@
|
|||
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
|
||||
|
||||
pkgname=evtx
|
||||
pkgver=0.8.4
|
||||
pkgver=0.8.5
|
||||
pkgrel=1
|
||||
pkgdesc="Cross-platform parser for Windows XML EventLog Format"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/omerbenamram/evtx"
|
||||
license=('MIT' 'Apache')
|
||||
depends=('gcc-libs')
|
||||
license=('MIT' 'Apache-2.0')
|
||||
depends=('gcc-libs' 'glibc')
|
||||
makedepends=('cargo')
|
||||
changelog=CHANGELOG.md
|
||||
options=('!lto')
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('4273643dbcc5ec25484e393c14fd03e4749868703fc1d3d966e95016637ebd1c')
|
||||
sha256sums=('92076a952e0d83efca42510c394c14a3ee890a47443b8817551fa41900eada9f')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
|
||||
cd "$pkgname-$pkgver"
|
||||
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
|
||||
}
|
||||
|
||||
build() {
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
export CARGO_TARGET_DIR=target
|
||||
cd "$pkgname-$pkgver"
|
||||
## must be --locked because not all dependencies are downloaded at this point
|
||||
cargo build --locked --release --all-features
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
export CARGO_TARGET_DIR=target
|
||||
cd "$pkgname-$pkgver"
|
||||
## must be --locked because not all dependencies are downloaded at this point
|
||||
cargo build --locked --release --all-features
|
||||
}
|
||||
|
||||
check() {
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
cd "$pkgname-$pkgver"
|
||||
cargo test --frozen --all-features || echo ':: Warning: tests failed'
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
cd "$pkgname-$pkgver"
|
||||
cargo test --frozen --all-features || echo ':: Warning: tests failed'
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
install -Dv target/release/evtx_dump -t "$pkgdir/usr/bin/"
|
||||
install -Dvm644 LICENSE-{APACHE,MIT} -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
install -Dvm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
|
||||
cd "$pkgname-$pkgver"
|
||||
install -Dvm755 target/release/evtx_dump -t "$pkgdir/usr/bin/"
|
||||
install -Dvm644 LICENSE-{APACHE,MIT} -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
install -Dvm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue