[arch-commits] Commit in (aerc aerc/repos aerc/trunk aerc/trunk/PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Nov 15 14:09:26 UTC 2020
Date: Sunday, November 15, 2020 @ 14:09:24
Author: shibumi
Revision: 754492
add aerc to repos
Added:
aerc/
aerc/repos/
aerc/trunk/
aerc/trunk/PKGBUILD
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Added: aerc/trunk/PKGBUILD
===================================================================
--- aerc/trunk/PKGBUILD (rev 0)
+++ aerc/trunk/PKGBUILD 2020-11-15 14:09:24 UTC (rev 754492)
@@ -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=('8feb7f87aa210ab7d8b271c34ad39af13f553447994341b3c25e7a659ce37d46')
+
+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