47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=ed
|
|
pkgver=1.18
|
|
pkgrel=01
|
|
pkgdesc="A POSIX-compliant line-oriented text editor"
|
|
arch=('x86_64')
|
|
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})
|
|
|
|
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
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('GPL')
|
|
|
|
validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
|
|
|
|
sha256sums=(aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f # ed-1.18.tar.lz
|
|
db57898c9dff441f33496157f716d8f03ac60c3bfa5a77ee35438b89cdf80554) # ed-1.18.tar.lz.sig
|