blob: bc13d318f7b50f212e66e75eed2446ad16258904 (
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
|
# Contributor: Rod Kay <charlie5 on #ada at freenode.net>
pkgname=sdlada
pkgver=2.1.7
pkgrel=1
pkgdesc="An Ada binding to SDL"
arch=('i686' 'x86_64')
url="https://github.com/Lucretia/sdlada/"
license=('zlib')
depends=("gcc-ada" "sdl2")
source=(https://github.com/Lucretia/sdlada/archive/v2.1.7.tar.gz
patch-makefile)
md5sums=('255a57dc59d250af12dbe3cb7be76e58'
'43906f6de67f33578375fe83468073e1')
prepare()
{
cd $srcdir/$pkgname-$pkgver
patch -p0 -i ../patch-makefile
}
build()
{
cd $srcdir/$pkgname-$pkgver
cd build/gnat
make -j1 SDL_PLATFORM=linux SDL_BUILD=static SDL_MODE=release
}
package()
{
cd $srcdir/$pkgname-$pkgver
cd build/gnat
make SDL_PLATFORM=linux SDL_BUILD=static SDL_MODE=release DESTDIR=$pkgdir install
}
|