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
|
2024-05-03 17:32:08 +02:00
|
|
|
pkgver=1.20.2
|
2024-05-06 19:04:14 +02:00
|
|
|
pkgrel=02
|
2022-03-20 13:19:37 +01:00
|
|
|
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})
|
|
|
|
|
2024-05-06 19:04:14 +02:00
|
|
|
# There is something seriously wrong with this guy, check diff file
|
|
|
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
|
|
|
|
|
2022-03-20 13:19:37 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2024-01-21 20:34:52 +01:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
|
|
|
|
arch=('x86_64')
|
2022-03-20 13:19:37 +01:00
|
|
|
|
2024-05-06 19:04:14 +02:00
|
|
|
license=(GPL-2.0-only)
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
|
|
|
|
|
2024-05-03 17:32:08 +02:00
|
|
|
sha256sums=(65fec7318f48c2ca17f334ac0f4703defe62037bb13cc23920de077b5fa24523 # ed-1.20.2.tar.lz
|
|
|
|
8f1ced496dc1c33ebdc22dffcd23c8b00c109cf565ea9de1af960266aa57abac) # ed-1.20.2.tar.lz.sig
|
|
|
|
|
2024-05-06 19:04:14 +02:00
|
|
|
## ccdd9b72c324e58c9769622486ab57b7514c97fc409b651e17c6a7c43bfdf5c3 ed-1.20.2-02-x86_64.pkg.tar.lz
|
2023-01-15 22:32:00 +01:00
|
|
|
|