# Maintainer: Maxime Gauduin <alucryd@archlinux.org>

pkgname=libretro-core-info
pkgver=1.9.8
pkgrel=1
pkgdesc='Libretro core info files'
arch=(any)
url=https://github.com/libretro/libretro-core-info
license=(GPL3)
makedepends=(git)
groups=(libretro)
_tag=cf9854a29982507a3a7f934134dcaa3078fee96e
source=(git+https://github.com/libretro/libretro-core-info.git#tag=${_tag})
sha256sums=(SKIP)

pkgver() {
  cd libretro-core-info

  git describe --tags | sed 's/^v//; s/-/./g'
}

package() {
  make DESTDIR="${pkgdir}" -C libretro-core-info install
}

# vim: ts=2 sw=2 et:
