pkgname="iana-etc"
pkgver="20250807"
pkgdesc='/etc/protocols and /etc/services provided by IANA'
homepage="https://www.iana.org/protocols"
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/Mic92/iana-etc/releases/download/${pkgver}/${sources[0]}")
md5sums=("de0a909103d4ff59d1424c5ec7ac9e4a")
license=('custom:none')

src_prepare() {
  tar -xf ${distdir}/${sources[0]} --strip-components=1
}

src_build() {
  :
}

src_install() {
  install -d "${pkgdir}/etc"
  cp services protocols "${pkgdir}/etc"
}
