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

pkgname=genromfs
pkgver=0.5.2
pkgrel=1
epoch=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=("a96953ff6a2ce96b9c9aca99faaa43fda0e25e0012f3855cd6b988a12895467b")

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

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