jobcore/ed/PKGBUILD

54 lines
1.5 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=ed
pkgver=1.20.2
pkgrel=02
pkgdesc="A POSIX-compliant line-oriented text editor"
url="https://www.gnu.org/software/ed/ed.html"
depends=('glibc' 'sh')
options=('!emptydirs')
source=("https://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz"{,.sig})
# There is something seriously wrong with this guy, check diff file
# Maintainer: Caleb Maclennan <caleb@alerque.com>
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/ \
--bindir=/usr/bin \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
"CPPFLAGS=$CPPFLAGS" \
"CFLAGS=$CFLAGS" \
"LDFLAGS=$LDFLAGS"
make
}
check() {
make -C "$pkgname-$pkgver" check
}
package() {
make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install
}
#---- arch license gpg-key & sha256sums ----
arch=('x86_64')
license=(GPL-2.0-only)
validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
sha256sums=(65fec7318f48c2ca17f334ac0f4703defe62037bb13cc23920de077b5fa24523 # ed-1.20.2.tar.lz
8f1ced496dc1c33ebdc22dffcd23c8b00c109cf565ea9de1af960266aa57abac) # ed-1.20.2.tar.lz.sig
## ccdd9b72c324e58c9769622486ab57b7514c97fc409b651e17c6a7c43bfdf5c3 ed-1.20.2-02-x86_64.pkg.tar.lz