blob: 536bd8da0926a9f1d1a472f909554eaaaaa48bf0 (
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
|
# Maintainer: MichaĆ Walenciak <kicer86@gmail.com>
pkgname=openblok
pkgver=0.8.4
pkgrel=1
pkgdesc="A customizable, cross platform, open-source falling block game, packed with a bunch of features."
arch=('i686' 'x86_64')
url="https://github.com/mmatyas/openblok"
license=('GPL3')
groups=()
depends=('sdl2'
'sdl2_image'
'sdl2_mixer'
'sdl2_ttf')
makedepends=('cmake')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://codeload.github.com/mmatyas/$pkgname/tar.gz/v$pkgver libSDL2pp::git+https://github.com/mmatyas/libSDL2pp.git#commit=4cb0e063ddd7db666007c71cef7a5f9cce866671)
noextract=()
md5sums=('82614ea8a047354d23f3f8ff322f00f8'
'SKIP')
prepare()
{
rm -d $pkgname-$pkgver/thirdparty/libSDL2pp
ln -s `pwd`/libSDL2pp $pkgname-$pkgver/thirdparty/libSDL2pp
}
build()
{
cd $pkgname-$pkgver
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DEXEDIR=/usr/bin ..
make
}
package()
{
cd "$pkgname-$pkgver"
cd build
make DESTDIR="$pkgdir/" install
}
|