desktop/ed/PKGBUILD
2015-07-13 23:22:52 +02:00

35 lines
829 B
Bash

pkgname=ed
pkgver=1.12
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'
sha512sums=('de66f763909511bcf76cc95309a04fba3285d2a5a87f93762cb5fcffb30bbb775bc47460aea3e1ba7bf304b98c1d3ff5617500d04bb8bc3eebe1793c4e73de72')
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
}