Skip to content
Snippets Groups Projects
Commit 80c6f0b6 authored by Hugo Barrera's avatar Hugo Barrera Committed by omni
Browse files

testing/xendmail: upgrade to 0.4.3

parent bde34363
No related branches found
No related tags found
1 merge request!62871testing/xendmail: upgrade to 0.4.3
Pipeline #221987 skipped
# Maintainer: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
pkgname=xendmail
pkgver=0.3.1
pkgver=0.4.3
pkgrel=0
pkgdesc="Like sendmail, for users"
url="https://git.sr.ht/~whynothugo/xendmail"
# rust-ring
arch="all !s390x !ppc64le !riscv64"
license="Apache-2.0"
makedepends="cargo cargo-auditable"
makedepends="cargo cargo-auditable scdoc"
subpackages="$pkgname-doc"
source="xendmail-$pkgver.tar.gz::https://git.sr.ht/~whynothugo/xendmail/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="net" # fetch dependencies
......@@ -20,6 +21,7 @@ prepare() {
build() {
cargo auditable build --release --frozen
make xendmail.1
}
check() {
......@@ -29,9 +31,10 @@ check() {
package() {
install -Dm 0755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
install -dm 0755 "$pkgdir/usr/sbin"
install -Dm 0644 xendmail.1 -t "$pkgdir/usr/share/man/man8/"
ln -s /usr/bin/$pkgname "$pkgdir/usr/sbin/sendmail"
}
sha512sums="
d94fc1358f04abdfb84beffaa8aef338dbd164a315a27012f41cfe131e9a9c671139991245faade77153fd1275b5ecc5d52bfdf6da0065b5b7ad7637c71533d2 xendmail-0.3.1.tar.gz
c7637e88b40ad7b1880822ff1f5b4fff495eb70ca5b3a59b5301eae7a18c9ca7236946d6b952f710ff9a41385bb10154299eb7562756c08eb1299bcbae86f00f xendmail-0.4.3.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment