[arch-commits] Commit in aerc/repos (community-x86_64 community-x86_64/PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Nov 15 14:11:16 UTC 2020
Date: Sunday, November 15, 2020 @ 14:11:15
Author: shibumi
Revision: 754496
archrelease: copy trunk to community-x86_64
Added:
aerc/repos/community-x86_64/
aerc/repos/community-x86_64/PKGBUILD
(from rev 754495, aerc/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: aerc/repos/community-x86_64/PKGBUILD (from rev 754495, aerc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-11-15 14:11:15 UTC (rev 754496)
@@ -0,0 +1,35 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Stefan Tatschner <stefan at rumpelsepp.org>
+# Contributor: Gökberk Yaltıraklı <aur at gkbrk dot com>
+# Contributor: Drew DeVault <sir at cmpwn.com>
+
+pkgname=aerc
+pkgver=0.5.2
+pkgrel=1
+pkgdesc='Email Client for your Terminal'
+arch=('x86_64')
+url='https://git.sr.ht/~sircmpwn/aerc'
+license=('MIT')
+depends=('notmuch')
+makedepends=('go' 'git' 'scdoc')
+optdepends=('w3m: html viewer support' 'dante: proxy support')
+provides=('aerc')
+conflicts=('aerc')
+source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('f5b4d997f191a9819e4e8c3d0e13e8258006760db915ea568731eda16b1ce13c1083275b063bd06b3d690370ff364dbd2d1d51123d3222e0b1e05a9a8e8e3739')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -modcacherw -tags=notmuch"
+ make PREFIX=/usr
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr DESTDIR=$pkgdir install
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/aerc/"
+}
More information about the arch-commits
mailing list