2022-03-20 13:19:37 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
2023-01-15 22:32:00 +01:00
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
2022-03-20 13:19:37 +01:00
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
2023-01-15 22:32:00 +01:00
|
|
|
# Website : https://pozol.eu
|
2022-03-20 13:19:37 +01:00
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=ed
|
2023-01-15 22:32:00 +01:00
|
|
|
pkgver=1.19
|
2022-03-20 13:19:37 +01:00
|
|
|
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
|
|
|
|
|
2023-01-15 22:32:00 +01:00
|
|
|
sha256sums=(ce2f2e5c424790aa96d09dacb93d9bbfdc0b7eb6249c9cb7538452e8ec77cd48 # ed-1.19.tar.lz
|
|
|
|
1c68868335e2dbe4977f7c3628a639de4bda5bcdb930ccde5ed0fb859105cf64) # ed-1.19.tar.lz.sig
|
|
|
|
|
|
|
|
|