blob: f1f7c0422c034c41cd7f7c8edca460e99373f5a2 (
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: jazztickets <jazztickets at gmail dot com>
pkgname=openflap
pkgver=1.0.7
pkgbuild=r79
pkgfullname=(${pkgname}-${pkgver}${pkgbuild})
pkgrel=1
pkgdesc="A game about bouncing balls through holes"
arch=('i686' 'x86_64')
url="https://gitlab.com/jazztickets/openflap"
license=('GPL3')
depends=('sdl2' 'sdl2_image' 'sdl2_ttf' 'sdl2_mixer')
makedepends=('cmake')
source=("https://gitlab.com/jazztickets/uploads/-/raw/main/${pkgfullname}-src.tar.gz")
sha256sums=('33f9662ec7a7d1d55a2b3b25bd78b4850a1b9f68f2435ee3d3f1ab5bb56cd034')
prepare() {
cd "$srcdir/$pkgfullname"
sed -i 's/add_dependencies(${CMAKE_PROJECT_NAME} version)//' CMakeLists.txt
}
build() {
cd "$srcdir/$pkgfullname"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "$srcdir/$pkgfullname"
make DESTDIR="$pkgdir/" install
# remove standard license
rm $pkgdir/usr/share/doc/$pkgname/LICENSE
}
|