50 lines
1.4 KiB
Bash
50 lines
1.4 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.20.1
|
|
pkgrel=01
|
|
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})
|
|
|
|
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')
|
|
|
|
validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
|
|
|
|
sha256sums=(b1a463b297a141f9876c4b1fcd01477f645cded92168090e9a35db2af4babbca # ed-1.20.1.tar.lz
|
|
14f54dcb07d55dc6b44bc412ed055ec13dd9c62c218f973e65fef7c225c3d7ef) # ed-1.20.1.tar.lz.sig
|
|
|
|
## e6b85dd20061b6eee3bc5f988cd428617d1bd16b33be192597e57ca1556d9c54 ed-1.20.1-01-x86_64.pkg.tar.lz
|