archrelease: copy trunk to community-any
[ArchLinux/community.git] / retroarch-assets / trunk / PKGBUILD
blob25783086b2d130f7af77c406932035aaf89a801d
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 pkgbase=retroarch-assets
4 pkgname=(
5   retroarch-assets-glui
6   retroarch-assets-ozone
7   retroarch-assets-xmb
9 pkgver=451
10 pkgrel=1
11 epoch=1
12 pkgdesc='XMB menu assets for RetroArch'
13 arch=(any)
14 url=http://www.libretro.com/
15 license=(GPL)
16 groups=(libretro)
17 depends=(retroarch)
18 makedepends=(git)
19 _commit=3f3966f2f278f7c8ba96db14b54d9c40ef708153
20 source=(git+https://github.com/libretro/retroarch-assets.git#commit=${_commit})
21 sha256sums=(SKIP)
23 pkgver() {
24   cd retroarch-assets
26   git rev-list --count HEAD
29 package_retroarch-assets-glui() {
30   depends+=(retroarch-assets-xmb)
32   cd retroarch-assets
34   install -dm 755 "${pkgdir}"/usr/share/retroarch/assets
35   cp -dr --no-preserve=ownership glui "${pkgdir}"/usr/share/retroarch/assets/
38 package_retroarch-assets-ozone() {
39   depends+=(retroarch-assets-xmb)
41   cd retroarch-assets
43   install -dm 755 "${pkgdir}"/usr/share/retroarch/assets
44   cp -dr --no-preserve=ownership ozone "${pkgdir}"/usr/share/retroarch/assets/
47 package_retroarch-assets-xmb() {
48   cd retroarch-assets
50   install -dm 755 "${pkgdir}"/usr/share/retroarch/assets
51   cp -dr --no-preserve=ownership xmb "${pkgdir}"/usr/share/retroarch/assets/
54 # vim: ts=2 sw=2 et: