Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages /
gengetopt
Commits:
d28c4628 by Christian Hesse at 2026-01-28T09:27:31+01:00
upgpkg: 2.23-4: build from git sources
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,20 @@
pkgbase = gengetopt
pkgdesc = A tool to write command line option parsing code for C
programs
pkgver = 2.23
- pkgrel = 3
+ pkgrel = 4
url = https://www.gnu.org/software/gengetopt/gengetopt.html
arch = x86_64
- license = GPL
+ license = GPL-3.0-or-later
+ makedepends = git
+ makedepends = gengen
+ makedepends = gengetopt
+ makedepends = help2man
+ depends = glibc
depends = gcc-libs
options = !docs
options = !makeflags
- source = https://ftp.gnu.org/gnu/gengetopt/gengetopt-2.23.tar.xz
- source = https://ftp.gnu.org/gnu/gengetopt/gengetopt-2.23.tar.xz.sig
+ source =
git+https://git.savannah.gnu.org/git/gengetopt.git#tag=rel_2_23?signed
validpgpkeys = CD7AB2B200F374043F92E5D42485C3A5CF0FF62F
- sha256sums =
b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac
- sha256sums = SKIP
+ sha256sums =
acb81a9e7315285e2ef6e3d5ded387e85abe7322d86f509e25644d27ac1a5bd0
pkgname = gengetopt
=====================================
PKGBUILD
=====================================
@@ -4,28 +4,36 @@
pkgname=gengetopt
pkgver=2.23
-pkgrel=3
+pkgrel=4
pkgdesc='A tool to write command line option parsing code for C programs'
arch=('x86_64')
url='https://www.gnu.org/software/gengetopt/gengetopt.html'
-license=('GPL')
+license=('GPL-3.0-or-later')
options=('!docs' '!makeflags')
-depends=('gcc-libs')
+depends=('glibc' 'gcc-libs')
+makedepends=('git' 'gengen' 'gengetopt' 'help2man')
validpgpkeys=('CD7AB2B200F374043F92E5D42485C3A5CF0FF62F') # Gray Wolf
<[email protected]>
-source=("https://ftp.gnu.org/gnu/gengetopt/${pkgname}-${pkgver}.tar.xz"{,.sig})
-sha256sums=('b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac'
- 'SKIP')
+source=("git+https://git.savannah.gnu.org/git/gengetopt.git#tag=rel_${pkgver/./_}?signed")
+sha256sums=('acb81a9e7315285e2ef6e3d5ded387e85abe7322d86f509e25644d27ac1a5bd0')
+
+prepare() {
+ cd "${pkgname}"
+
+ autoreconf -fi
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}"
- ./configure --prefix=/usr
- make
+ ./configure \
+ YACC='bison' \
+ --prefix=/usr
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}"
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" install
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gengetopt/-/commit/d28c462823a4c8274dfcb6d974e8cc84cc013745
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gengetopt/-/commit/d28c462823a4c8274dfcb6d974e8cc84cc013745
You're receiving this email because of your account on gitlab.archlinux.org.