38 lines
972 B
Text
38 lines
972 B
Text
# Maintainer: Dave Reisner <dreisner@archlinux.org>
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
pkgname=ed
|
|
pkgver=1.18
|
|
pkgrel=1
|
|
pkgdesc="A POSIX-compliant line-oriented text editor"
|
|
arch=('x86_64')
|
|
license=('GPL')
|
|
url="https://www.gnu.org/software/ed/ed.html"
|
|
depends=('glibc' 'sh')
|
|
options=('!emptydirs')
|
|
validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
|
|
source=("https://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz"{,.sig})
|
|
sha256sums=('aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f'
|
|
'SKIP')
|
|
|
|
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
|
|
}
|