desktop/ed/PKGBUILD
2016-02-18 02:16:50 +00:00

35 lines
765 B
Bash

pkgname=ed
pkgver=1.13
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=('cd66c54a53cd6ef35a217556e7b2b2fdd973ca2708f4fc41636b0bc06388c7d3')
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
}