blob: f3628242ac05179332d006464d8103caa0d45670 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: zzy-ac <zy-ac@qq.com>
pkgname=bongocat-osu-git
_gitname=bongocat-osu
pkgver=1.5.3
pkgrel=1
epoch=
pkgdesc="An osu! Bongo Cat overlay"
arch=(x86_64)
url="https://github.com/CSaratakij/bongocat-osu"
license=('MIT')
groups=()
depends=('gcc' 'sdl2' 'sfml' 'xorg-xrandr')
makedepends=('git' 'cmake' 'extra-cmake-modules')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(
"git+${url}.git"
bongocat
bongocat-osu.desktop
)
noextract=()
md5sums=('SKIP'
'7272510ab9cd539568371ac98073ae2c'
'eb134c206930a1211ce863dbeeede344')
validpgpkeys=()
build() {
cd ${_gitname}
git checkout origin/feature-linux-native-port
cp Makefile.linux Makefile
make
mkdir -p opt/bongocat-osu
cp -r img opt/bongocat-osu
cp bin/bongo opt/bongocat-osu/bongocat
}
package() {
install -Dm644 $srcdir/${_gitname}/ico/bongo.ico $pkgdir/usr/share/icons/hicolor/128x128/apps/bongocat.ico
cp -r $srcdir/${_gitname}/opt $pkgdir/opt
install -Dm755 "bongocat" "${pkgdir}/usr/bin/bongocat"
install -Dm644 "bongocat-osu.desktop" "${pkgdir}/usr/share/applications/bongocat-osu.desktop"
}
|