68 lines
1.9 KiB
Text
68 lines
1.9 KiB
Text
+PKGBUILD-arch.new:# Maintainer: Caleb Maclennan <caleb@alerque.com>
|
|
|
|
--- PKGBUILD-arch 2024-05-01 01:50:13.148942339 +0300
|
|
+++ PKGBUILD-arch.new 2024-05-04 20:22:20.181290147 +0300
|
|
@@ -1,38 +1,40 @@
|
|
-# 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.2
|
|
-pkgrel=1
|
|
-pkgdesc="A POSIX-compliant line-oriented text editor"
|
|
-arch=('x86_64')
|
|
-license=('GPL')
|
|
+pkgrel=2
|
|
+pkgdesc='A POSIX-compliant line-oriented text editor'
|
|
+arch=(x86_64)
|
|
+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})
|
|
+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
|
|
}
|