desktop/ed/PKGBUILD
2017-02-26 01:54:11 +00:00

35 lines
767 B
Bash

pkgname=ed
pkgver=1.14.2
pkgrel=1
pkgdesc="A POSIX-compliant line-oriented text editor"
arch=('x86_64')
license=('GPL')
url="http://www.gnu.org/software/ed/ed.html"
depends=('glibc' 'sh')
groups=('base-devel')
options=('!emptydirs')
source=("ftp://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz")
install='ed.install'
sha256sums=('f57962ba930d70d02fc71d6be5c5f2346b16992a455ab9c43be7061dec9810db')
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/ \
--bindir=/usr/bin \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
"CFLAGS=$CFLAGS" \
"LDFLAGS=$LDFLAGS"
make
}
check() {
make -C "$pkgname-$pkgver" check
}
package() {
make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install
}