# Maintainer: Joel Holdsworth <jholdsworth@nvidia.com>

pkgname=genromfs
pkgver=0.5.7
pkgrel=1
pkgdesc="Creates ROMFS images"
arch=('any')
url="https://romfs.sourceforge.net/"
license=("GPL-2+")
makedepends=("gcc")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/chexum/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=("2d16d217b11a28809454ddab0cd7c1c0865af8ea79ac0e86af03ab82320f02ab")

build() {
  make -C "${srcdir}"/${pkgname}-${pkgver}
}

package() {
  make -C "${srcdir}"/${pkgname}-${pkgver} PREFIX=${pkgdir} install
}
