# Maintainer: Esteban Carnevale <alfplayer@mailoo.org>

pkgname=parabolaiso-data
pkgver=3
pkgrel=1
pkgdesc="Data files of parabolaiso, the tool to create ISO images"
arch=('any')
url="https://projects.parabola.nu/packages/parabolaiso.git"
license=('GPL')
_basesource1='https://projects.parabola.nu/packages/parabolaiso.git/plain'
_basesource2='https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2'
source=("${_basesource1}/configs/profile/syslinux/splash.png"
        "${_basesource2}/ShellBinPkg/UefiShell/X64/Shell.efi"
	"${_basesource2}/EdkShellBinPkg/FullShell/X64/Shell_Full.efi")
md5sums=('120771b6b33e9007f5291e49f1243fd4'
         '243244841cb0e2c2669e22a41acc2f39'
         '082080109f0d31e7f53c1774a52feec2')

package() {
  cd $srcdir

  datadir="usr/share/parabolaiso/data"

  install -d $pkgdir/$datadir

  install -D -m644 splash.png $pkgdir/$datadir/splash.png
  install -D -m644 Shell.efi $pkgdir/$datadir/Shell.efi
  install -D -m644 Shell_Full.efi $pkgdir/$datadir/Shell_Full.efi
}