summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGenues2021-02-19 12:19:42 +0300
committerGenues2021-02-19 12:19:42 +0300
commitf9169e977d8206cb8c52262a4125b44a8c564422 (patch)
treef88a25c09a523ba180cedb06840e62f0f1aa225c /PKGBUILD
parent3f15bea1fce39dbb1e4a81c504a9a9c14196bab1 (diff)
downloadaur-f9169e977d8206cb8c52262a4125b44a8c564422.tar.gz
Update version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f13c3ecb190..66478975366 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,22 @@
# Maintainer: Evgeniy <genues@gmail.com>
pkgname=opensmtpd-filter-replace-from_reply
-pkgver=1.0.2
+pkgver=1.0.3
pkgrel=1
pkgdesc='This is a simple OpenSMTPD filter for overwriting the email address in the MAIL FROM command, in the header in all sent messages, as well as for substituting the original MAIL FROM address in the Reply-To field'
license=("MIT")
arch=(i686 x86_64)
depends=(glibc)
makedepends=(go)
-source=('https://github.com/Genues/opensmtpd-filter-replace-from_reply/archive/main.zip')
-sha512sums=('SKIP')
+source=("https://github.com/Genues/opensmtpd-filter-replace-from_reply/archive/$pkgver.zip")
+md5sums=('d4ca82486a20fbbc319bd2379e25e68b')
build() {
-cd "$pkgname"-main
+cd "$pkgname-$pkgver"
go build -buildmode pie -ldflags "-extldflags $LDFLAGS" -trimpath "$pkgname.go"
}
package() {
-cd "$pkgname"-main
+cd "$pkgname-$pkgver"
install -D "$pkgname" -t "$pkgdir"/usr/lib/smtpd/opensmtpd
install -Dm644 README.md -t "$pkgdir"/usr/share/doc/$pkgname