upgpkg: 1.1.10-1
This commit is contained in:
parent
bbba69d4ca
commit
cae8319fd4
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
pkgbase = arti
|
||||||
|
pkgdesc = An implementation of Tor in Rust
|
||||||
|
pkgver = 1.1.10
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://gitlab.torproject.org/tpo/core/arti
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
license = Apache
|
||||||
|
makedepends = cargo
|
||||||
|
depends = liblzma.so
|
||||||
|
depends = libsqlite3.so
|
||||||
|
depends = libssl.so
|
||||||
|
options = !lto
|
||||||
|
backup = etc/arti.d/arti.toml
|
||||||
|
source = arti-1.1.10.tar.gz::https://gitlab.torproject.org/tpo/core/arti/-/archive/arti-v1.1.10/arti-arti-v1.1.10.tar.gz
|
||||||
|
sha256sums = bb7f18385022b616fb0fb04c61b890441524eaa884def1eef3c581b711814842
|
||||||
|
b2sums = ba11c13d0d214b3f3d4e8c3e4767a947383377f43fe2ce5238b047f89d1d460003c6e9df19145952f28b6dc20e7c84ad849dd8dc08af8f196f75292e4c6299b2
|
||||||
|
|
||||||
|
pkgname = arti
|
26
PKGBUILD
26
PKGBUILD
@ -1,17 +1,24 @@
|
|||||||
# Maintainer: Orhun Parmaksız <orhun@archlinux.org>
|
# Maintainer: Orhun Parmaksız <orhun@archlinux.org>
|
||||||
|
# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
|
||||||
|
|
||||||
pkgname=arti
|
pkgname=arti
|
||||||
pkgver=1.1.8
|
pkgver=1.1.10
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="An implementation of Tor in Rust"
|
pkgdesc="An implementation of Tor in Rust"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://gitlab.torproject.org/tpo/core/arti"
|
url="https://gitlab.torproject.org/tpo/core/arti"
|
||||||
license=('MIT' 'Apache')
|
license=('MIT' 'Apache')
|
||||||
depends=('sqlite' 'openssl' 'xz')
|
depends=(
|
||||||
|
'liblzma.so'
|
||||||
|
'libsqlite3.so'
|
||||||
|
'libssl.so'
|
||||||
|
)
|
||||||
makedepends=('cargo')
|
makedepends=('cargo')
|
||||||
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgname-v$pkgver/$pkgname-$pkgname-v$pkgver.tar.gz")
|
backup=('etc/arti.d/arti.toml')
|
||||||
sha256sums=('8ad12358086a65d2c41fb3be31b09e0324ef41e2669e6c596753589c4155ee2d')
|
|
||||||
options=('!lto')
|
options=('!lto')
|
||||||
|
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgname-v$pkgver/$pkgname-$pkgname-v$pkgver.tar.gz")
|
||||||
|
sha256sums=('bb7f18385022b616fb0fb04c61b890441524eaa884def1eef3c581b711814842')
|
||||||
|
b2sums=('ba11c13d0d214b3f3d4e8c3e4767a947383377f43fe2ce5238b047f89d1d460003c6e9df19145952f28b6dc20e7c84ad849dd8dc08af8f196f75292e4c6299b2')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
mv "$pkgname-$pkgname-v$pkgver" "$pkgname-$pkgver"
|
mv "$pkgname-$pkgname-v$pkgver" "$pkgname-$pkgver"
|
||||||
@ -27,12 +34,21 @@ build() {
|
|||||||
check() {
|
check() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
cargo test --frozen
|
cargo test --frozen
|
||||||
|
"target/release/$pkgname" --help
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
|
install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
|
||||||
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
|
|
||||||
|
# config
|
||||||
|
install -Dm 640 crates/arti/src/arti-example-config.toml "$pkgdir/etc/arti.d/arti.toml"
|
||||||
|
|
||||||
|
# docs
|
||||||
|
install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" \
|
||||||
|
README.md \
|
||||||
|
crates/arti/src/arti-example-config.toml
|
||||||
|
|
||||||
install -Dm 644 LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname"
|
install -Dm 644 LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user