49 lines
1.3 KiB
Bash
49 lines
1.3 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"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=ed
|
|
pkgver=1.19
|
|
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=(ce2f2e5c424790aa96d09dacb93d9bbfdc0b7eb6249c9cb7538452e8ec77cd48 # ed-1.19.tar.lz
|
|
1c68868335e2dbe4977f7c3628a639de4bda5bcdb930ccde5ed0fb859105cf64) # ed-1.19.tar.lz.sig
|
|
|
|
|