Create aerc package
ci/woodpecker/manual/woodpecker Pipeline failed Details

This commit is contained in:
City Slicker 2024-01-20 10:15:27 -06:00
commit 6d5df0f5ec
No known key found for this signature in database
GPG Key ID: 0E666859D8E1AA8B
3 changed files with 65 additions and 0 deletions

10
.woodpecker.yml Normal file
View File

@ -0,0 +1,10 @@
steps:
build:
image: artixlinux/base
commands:
- pacman -Sy --noconfirm
- pacman -S --noconfirm go scdoc gawk notmuch-runtime
- cd aerc
- makepkg
- ls -al

19
aerc/.SRCINFO Normal file
View File

@ -0,0 +1,19 @@
pkgbase = aerc
pkgdesc = Email Client for your Terminal
pkgver = 0.16.0
pkgrel = 1
url = https://git.sr.ht/~rjarry/aerc
arch = x86_64
license = MIT
makedepends = go
makedepends = scdoc
depends = notmuch-runtime
depends = gawk
optdepends = w3m: for showing HTML messages
optdepends = dante: for showing HTML messages
provides = aerc
conflicts = aerc
source = aerc-0.16.0.tar.gz::https://git.sr.ht/~rjarry/aerc/archive/0.16.0.tar.gz
sha512sums = 8196424915f8f6dc80bad0f936e34b7f51298665af3579ae8c06699a4f1caf962258185a432909911920ec1eb089c9f178c9086c54c0e799a44e1e0dac907fd8
pkgname = aerc

36
aerc/PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
# Maintainer: Christian Rebischke <chris.rebischke@archlinux.org>
# Contributor: Stefan Tatschner <stefan@rumpelsepp.org>
# Contributor: Gökberk Yaltıraklı <aur at gkbrk dot com>
# Contributor: Drew DeVault <sir@cmpwn.com>
pkgname=aerc
pkgver=0.16.0
pkgrel=1
pkgdesc='Email Client for your Terminal'
arch=('x86_64')
url='https://git.sr.ht/~rjarry/aerc'
license=('MIT')
depends=('notmuch-runtime' 'gawk')
makedepends=('go' 'scdoc')
optdepends=('w3m: for showing HTML messages'
'dante: for showing HTML messages')
provides=('aerc')
conflicts=('aerc')
source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~rjarry/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=('8196424915f8f6dc80bad0f936e34b7f51298665af3579ae8c06699a4f1caf962258185a432909911920ec1eb089c9f178c9086c54c0e799a44e1e0dac907fd8')
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 LIBEXECDIR=/usr/lib/aerc
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr LIBEXECDIR=/usr/lib/aerc DESTDIR=$pkgdir install
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/aerc/"
}