Received: from theta.ikke.info (theta.ikke.info [178.21.117.236]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 95D2E223210 for <~alpine/devel@lists.alpinelinux.org>; Mon, 28 Aug 2023 10:34:52 +0000 (UTC) Received: from 8a493b28811c (mutt-mutt-run-f53f75dae8e5.postfix_default [192.168.80.5]) by theta.ikke.info (Postfix) with ESMTPS id 550CE1407C1; Mon, 28 Aug 2023 10:34:15 +0000 (UTC) Date: Mon, 28 Aug 2023 10:34:15 +0000 From: Kevin Daudt To: port19 Cc: "~alpine/devel@lists.alpinelinux.org" <~alpine/devel@lists.alpinelinux.org> Subject: Re: PKGBUILD conversion script Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Aug 28, 2023 at 09:11:19AM +0000, port19 wrote: > Hi! > > I have noticed large similarities between the PKGBUILD format of arch linux and APKGBUILD in alpine. > An awk script converting the two formats may prove beneficial in porting packages. > Of course this has the main limitation of oten differing package names, but that can be disclaimed. > If this sounds like a good idea I can work on an implementation. > > Kind Regards, > port19 [toAPK][0] is already an existing tool that does already generate APKBUILDs from PKGBUILDs. Note that, even though the files look similar, there is still a difference in packaging policies that you need to take into account as well, which such tools cannot cover. [0]:https://gitlab.com/Durrendal/toAPK