summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2240e3d5729f1d2b1f31a9a58ed40ce993d12b6f (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
# Maintainer: prg <prg-archlinux@xannode.com>
# Contributor: prg <prg-archlinux@xannode.com>

_gitname=presets-cream-of-the-crop
pkgname=projectm-presets-cream-of-the-crop
pkgver=2.4e0bf9f
pkgrel=2
pkgdesc="Preset pack for projectM - jason fletcher's curated pack (git version)"
arch=('x86_64' 'i686')
url='https://github.com/projectM-visualizer/presets-projectm-classic'
license=('LGPL')
depends=('projectm-git' 'sdl2' 'libxext' 'glm' 'poco')
makedepends=('cmake')
source=("git+https://github.com/projectM-visualizer/${_gitname}.git"
	"https://xannode.com/projectm-cream-of-the-crop-textures.tar.gz")
sha256sums=(SKIP
	'a178c997b12f0cf27e0edbe2ac45a99d076a8c2a67945f4de09c1f9a27a454ff')
options=('!buildflags')

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

package() {
  mkdir -p "$pkgdir/usr/share/projectM/presets/cream-of-the-crop"
  mkdir -p "$pkgdir/usr/share/projectM/textures/"
  cp -ar $srcdir/${_gitname}/* "$pkgdir/usr/share/projectM/presets/cream-of-the-crop"
  cp -ar $srcdir/textures "$pkgdir/usr/share/projectM/textures/cream-of-the-crop"
}