summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4100c82fd9279c54522d0d31e68faa3aac8592c8 (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
# Maintainer: Tomasz Paś <kierek93@gmail.com>
# Contributor: Tomasz Paś <kierek93@gmail.com>

pkgname=libretro-pocketcdg-git
_gitname=libretro-pocketcdg
pkgver=23.21fd39d
pkgrel=1
pkgdesc="libretro port of pocketcdg, karaoke player"
arch=('i686' 'x86_64')
url="https://github.com/libretro/libretro-pocketcdg"
license=('GPLv2')
makedepends=('git')
source=("${_gitname}::git://github.com/libretro/${_gitname}.git"
	"https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/pocketcdg_libretro.info")
groups=('libretro')

md5sums=('SKIP'
	 'SKIP')

pkgver() {
  cd "${_gitname}"
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd "${_gitname}"
  make
}

package() {
  install -Dm644 "${srcdir}/pocketcdg_libretro.info" "${pkgdir}/usr/share/libretro/info/pocketcdg_libretro.info"
  install -Dm644 "${_gitname}/pocketcdg_libretro.so" "${pkgdir}/usr/lib/libretro/pocketcdg_libretro.so"
}