blob: eb83cece5714404c8c4dc871cda770cd276b2e43 (
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
|
# Maintainer : Thomas Steinholz <tsteinholz@protonmail.com>
pkgname=blackjack-git
pkgver=1.0.0
pkgrel=1
pkgdesc="A fun little game of Black Jack."
arch=('i686' 'x86_64')
url="https://github.com/tsteinholz/BlackJack"
license=('MIT')
depends=('allegro>=5.0.11-1')
makedepends=('git' 'cmake')
md5sums=('SKIP'
'09ec21702a3dde391e4622af691d3fad'
'6078e49f2a89356fee32a8b27068099f')
source=('git+https://github.com/tsteinholz/BlackJack'
'path.diff'
'blackjack')
prepare() {
cd "$srcdir/BlackJack"
patch -i "$srcdir/path.diff"
}
build() {
cd "$srcdir/BlackJack"
cmake .
make
}
package() {
cd "$srcdir/BlackJack"
make DESTDIR="$pkgdir/" install
cp -rf "$srcdir/BlackJack/res" "$pkgdir/opt/blackjack"
install -Dm755 "$srcdir/blackjack" "$pkgdir/usr/bin/blackjack"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|