mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
34 lines
745 B
Bash
34 lines
745 B
Bash
pkgname=ed
|
|
pkgver=1.15
|
|
pkgrel=1
|
|
pkgdesc="A POSIX-compliant line-oriented text editor"
|
|
arch=('x86_64')
|
|
license=('GPL')
|
|
url="https://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")
|
|
sha256sums=('ad4489c0ad7a108c514262da28e6c2a426946fb408a3977ef1ed34308bdfd174')
|
|
|
|
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
|
|
}
|