archrelease: copy trunk to extra-x86_64
[arch-packages.git] / ed / trunk / PKGBUILD
blob1d22cdab743d45ad17ead73bf16298010a5f1910
1 # Maintainer: Dave Reisner <dreisner@archlinux.org>
2 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
4 pkgname=ed
5 pkgver=1.19
6 pkgrel=1
7 pkgdesc="A POSIX-compliant line-oriented text editor"
8 arch=('x86_64')
9 license=('GPL')
10 url="https://www.gnu.org/software/ed/ed.html"
11 depends=('glibc' 'sh')
12 options=('!emptydirs')
13 validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742')  # Antonio Diaz Diaz
14 source=("https://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz"{,.sig})
15 sha256sums=('ce2f2e5c424790aa96d09dacb93d9bbfdc0b7eb6249c9cb7538452e8ec77cd48'
16             'SKIP')
18 build() {
19   cd "$pkgname-$pkgver"
21   ./configure --prefix=/ \
22               --bindir=/usr/bin \
23               --mandir=/usr/share/man \
24               --infodir=/usr/share/info \
25               "CPPFLAGS=$CPPFLAGS" \
26               "CFLAGS=$CFLAGS" \
27               "LDFLAGS=$LDFLAGS"
29   make
32 check() {
33   make -C "$pkgname-$pkgver" check
36 package() {
37   make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install