summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b08e9cb35fca5fcd11789c25cfed0641fe6dda72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Michael DeGuzis <mdeguzis@gmail.com>
# Credit: Maxime Gauduin <alucryd@archlinux.org>

pkgname=libretro-overlays-git
_gitname=libretro-overlays
pkgver=r101.ee11805
pkgrel=1
pkgdesc='Collection of overlays for libretro'
arch=('any')
url='http://www.libretro.com/'
license=('GPL')
groups=('libretro')
makedepends=('git')
conflicts=('libretro-overlays')
provides=('libretro-overlays')
source=('libretro-overlays::git+https://github.com/libretro/common-overlays.git')
sha256sums=('SKIP')

pkgver() {

  cd $_gitname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

}

package() {

  cd $_gitname

  install -dm 755 "${pkgdir}"/usr/share/libretro/overlays
  cp -dr --no-preserve='ownership' * "${pkgdir}"/usr/share/libretro/overlays/

}