liba2i package for Arch
Alejandro Colomar <[email protected]> Mon, 15 Jul 2024 00:02:17 +0200
| Newsgroups | dev.linux.lists.liba2i |
|---|---|
| Message-ID | <44n36yqdtuwpwvudklyuzuqnbojmeqeistw6inzh4jeas44kan@yfqgouyec6at> |
--qh7my235uufnccvp Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable From: Alejandro Colomar <[email protected]> To: [email protected] Cc: [email protected] Subject: liba2i package for Arch MIME-Version: 1.0 Hi David, I've written a library, liba2i, which contains functions for parsing integers. That's based on the improvements added to the shadow project recently. The library will allow other projects to also use those APIs, and it will also reduce the maintenance of shadow. shadow will start depending on liba2i, and remove its own implementation of these APIs, as soon as liba2i is widely packaged by distros. Would you mind packaging it for Arch? I've written a draft of a PKGBUILD for it, which I've pasted below. <https://git.kernel.org/pub/scm/libs/liba2i/liba2i.git/> <https://lore.kernel.org/liba2i/sovz7apsg5dqg6npx2lg4qbrq5mnhfygalczhwt7twt= xdqnpqp@a6cglzcng6ji/T/#u> <https://www.alejandro-colomar.es/share/dist/liba2i/0/0.10/> <https://github.com/shadow-maint/shadow/pull/1049> Have a lovely day! Alex --- pkgname=3Dliba2i pkgver=3D0.10 pkgrel=3D1 pkgdesc=3D"string-to-numeric library" arch=3D(x86_64) url=3D"https://git.kernel.org/pub/scm/libs/liba2i/liba2i.git/" license=3D(LGPL-3.0-or-later WITH LGPL-3.0-linking-exception) depends=3D( glibc ) makedepends=3D( binutils gcc git groff pkgconf ) validpgpkeys=3D( A9348594CE31283A826FBDD8D57633D441E25BB5 # Alejandro Colomar <alx@kernel= =2Eorg> ) prepare() { cd $pkgname make CFLAGS=3D"$CFLAGS" nothing } build() { cd $pkgname local makebuildopts=3D"EXTRAVERSION=3D'-$pkgrel' CFLAGS=3D'$CFLAGS'" make $makebuildopts build-catman make $makebuildopts build-dev make $makebuildopts build-lib-shared make $makebuildopts build-man make $makebuildopts check-catman make $makebuildopts check-lib } package() { cd $pkgname local makepkgopts=3D"EXTRAVERSION=3D'-$pkgrel' DESTDIR=3D'$pkgdir' prefix= =3D'/usr'" make $makepkgopts install-dev make $makepkgopts install-lib-shared make $makepkgopts install-man } --=20 <https://www.alejandro-colomar.es/> --qh7my235uufnccvp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6jqH8KTroDDkXfJAnowa+77/2zIFAmaUSugACgkQnowa+77/ 2zJPCQ//Sh3fn0rytHhF9sm9m5etrdyoFQCOADlLm4ztlQf4koYsABWHShZvIqvg 2ZAeaVpYh7izF0CWLS2sM1zS6sHCSApW0wS8j5n17gsdWeWzvSqQLdVPqdCdj6gc Xv5dzwTXcFFP5t7L/N86XkdkETtoRkyRGz5C2+HTB7imq9njjg2pl+F/ASVdQWwv s4mhztEw734Yi/zQXWHMuJ9S4Ep9cK4gxUantpTUSJ1AjlcaegtTfP6i/fXnANrN tQ6ZsvCuONksPBgTE4zLixSJHgh2VDNi4qtqoeL67wz1XR4NtfloPlVmMoxALXDz Y3BW5pkhxtu5n4L5ak9Kx18WCOgEVNoXJJfUOZODo84Dcex1jhxA30dQy5n81/F1 S+aswbwBmrE3t1CfdYzr9+g96veXXdVZrUg21ctIcOuKqFNxdm/dJ6fd/WLw9BBZ GpK+x9ETQcglKNfeb7bXxDt3hXRNri6dtoRnBEVvPw2OSFrFrpB5YdruXylQNWO7 zlbKGdiUtNKoHxPHSPhDQi16Rn3mYYeZUSYXG8G0/kht+O6/b/9R7kEjfpAYXaf8 BSuNTnfyA+MqBoG8rhItMTEKq2q+AxID1548wbQZl6h6+jnHb7gFHpVgoiK/3PUh LpkgcHpomvtbJqw9baICR+0wqlT56/gGjhe2uDm03ZHD4hAhIbA= =M9zg -----END PGP SIGNATURE----- --qh7my235uufnccvp--