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.19
|
|
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=('ce2f2e5c424790aa96d09dacb93d9bbfdc0b7eb6249c9cb7538452e8ec77cd48'
|
|
'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
|
|
}
|