Skip to content

Commit

Permalink
gengetopt: rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Dec 13, 2023
1 parent 436e004 commit 548fec5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
12 changes: 6 additions & 6 deletions gengetopt/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@

pkgname=gengetopt
pkgver=2.23
pkgrel=1
pkgrel=2
pkgdesc="A tool to write command line option parsing code for C programs"
arch=('i686' 'x86_64' 'arm' 'armv6h')
url="https://www.gnu.org/software/gengetopt/gengetopt.html"
license=("GPL")
options=('!docs' '!makeflags')
makedepends=('bison' 'flex' 'gcc' 'help2man' 'autotools')
source=(https://ftp.gnu.org/gnu/gengetopt/${pkgname}-${pkgver}.tar.xz{,.sig}
msysize.patch)
source=(https://ftp.gnu.org/gnu/gengetopt/${pkgname}-${pkgver}.tar.xz{,.sig})
sha256sums=('b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac'
'SKIP'
'803fade65b7a266ef511687a9b79a938a59ef7c9e649a2e794701a5dd592e56d')
'SKIP')
validpgpkeys=('CD7AB2B200F374043F92E5D42485C3A5CF0FF62F')

prepare() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/msysize.patch

autoreconf -fiv
}

build() {
cd ${srcdir}/${pkgname}-${pkgver}

local CYGWIN_CHOST="${CHOST/-msys/-cygwin}"
./configure \
--prefix=/usr \
--build=${CYGWIN_CHOST} \
--disable-dependency-tracking

make
Expand Down
13 changes: 0 additions & 13 deletions gengetopt/msysize.patch

This file was deleted.

0 comments on commit 548fec5

Please sign in to comment.