In some cases this will introduce cycles which could likely be cleaned up by only depending on some unix tools instead of the whole autotools. Rebuilding doesn't make much sense at this point since it just adds a subset of base-devel which is still installed by default.
39 lines
924 B
Bash
39 lines
924 B
Bash
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
|
|
|
pkgname=ed
|
|
pkgver=1.17
|
|
pkgrel=1
|
|
pkgdesc="A POSIX-compliant line-oriented text editor"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="https://www.gnu.org/software/ed/ed.html"
|
|
depends=('sh')
|
|
makedepends=('autotools')
|
|
options=('!emptydirs')
|
|
source=("https://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz"{,.sig})
|
|
install='ed.install'
|
|
validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
|
|
sha256sums=('71de39883c25b6fab44add80635382a10c9bf154515b94729f4a6529ddcc5e54'
|
|
'SKIP')
|
|
|
|
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
|
|
}
|