From 8426c301c1c787efa3530de17ef764d5b30e35b7 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Sat, 7 Sep 2024 23:18:11 +0800 Subject: [PATCH] iana-etc 20240806-1 --- iana-etc/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 iana-etc/PKGBUILD diff --git a/iana-etc/PKGBUILD b/iana-etc/PKGBUILD new file mode 100644 index 0000000..37f1fad --- /dev/null +++ b/iana-etc/PKGBUILD @@ -0,0 +1,24 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=iana-etc +pkgver=20240806 +pkgrel=1 +pkgdesc="/etc/protocols and /etc/services provided by IANA" +arch=('x86_64') +url="https://www.iana.org/protocols" +license=('custom:none') +backup=(etc/protocols + etc/services) +source=(https://github.com/Mic92/iana-etc/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=(672dbe1ba52b889a46dc07ee3876664ed601983239f82d729d02a002475a5b66) + +package() { + cd ${pkgname}-${pkgver} + + install -Dvm644 services ${pkgdir}/etc/services + install -Dvm644 protocols ${pkgdir}/etc/protocols +}