* update ed to 1.20.2-2
This commit is contained in:
parent
bdcdedf730
commit
fcaef42ee0
50
ed/PKGBUILD
50
ed/PKGBUILD
@ -1,39 +1,41 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Dave Reisner <dreisner@archlinux.org>
|
||||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
# Maintainer: Caleb Maclennan <caleb@alerque.com>
|
||||
# Contributor: Dave Reisner <dreisner@archlinux.org>
|
||||
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgname=ed
|
||||
pkgver=1.20.1
|
||||
pkgrel=1
|
||||
pkgdesc="A POSIX-compliant line-oriented text editor"
|
||||
pkgver=1.20.2
|
||||
pkgrel=2
|
||||
pkgdesc='A POSIX-compliant line-oriented text editor'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
license=('GPL')
|
||||
license=(GPL-2.0-only)
|
||||
url="https://www.gnu.org/software/ed/ed.html"
|
||||
depends=('glibc' 'sh')
|
||||
options=('!emptydirs')
|
||||
validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
|
||||
source=("https://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz"{,.sig})
|
||||
sha256sums=('b1a463b297a141f9876c4b1fcd01477f645cded92168090e9a35db2af4babbca'
|
||||
depends=(glibc
|
||||
sh)
|
||||
options=(!emptydirs)
|
||||
_archive="$pkgname-$pkgver"
|
||||
source=("https://ftp.gnu.org/gnu/ed/$_archive.tar.lz"{,.sig})
|
||||
sha256sums=('65fec7318f48c2ca17f334ac0f4703defe62037bb13cc23920de077b5fa24523'
|
||||
'SKIP')
|
||||
validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
./configure --prefix=/ \
|
||||
--bindir=/usr/bin \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
"CPPFLAGS=$CPPFLAGS" \
|
||||
"CFLAGS=$CFLAGS" \
|
||||
"LDFLAGS=$LDFLAGS"
|
||||
|
||||
make
|
||||
cd "$_archive"
|
||||
./configure \
|
||||
--prefix=/\
|
||||
--bindir=/usr/bin \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
"CPPFLAGS=$CPPFLAGS" \
|
||||
"CFLAGS=$CFLAGS" \
|
||||
"LDFLAGS=$LDFLAGS"
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make -C "$pkgname-$pkgver" check
|
||||
make -C "$_archive" check
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install
|
||||
make -C "$_archive" "DESTDIR=$pkgdir" install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user