blob: 51ccf64d9bb26c76a5e88fc8ae5c1afe84a36a2d (
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
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Feufochmar <feufochmar dot gd at gmail dot com>
# Contributor: Joao Cordeiro <jlcordeiro at gmail dot com>
# Contributor: SirClueless
# Contributor: jiornojiovanni <gianni00palmieri at gmail dot com>
## GPG key: https://github.com/hexdecimal.gpg
pkgname=libtcod
pkgver=1.24.0
pkgrel=1
pkgdesc="Roguelike graphics/utility library"
arch=('x86_64')
url="https://github.com/libtcod/libtcod"
license=('BSD')
depends=('sdl2')
makedepends=('git' 'python')
provides=("$pkgname.so")
changelog=CHANGELOG.md
source=("$pkgname::git+$url#tag=$pkgver?signed")
sha256sums=('SKIP')
validpgpkeys=('9EF1E80F3817BC043097A7C15814977902B194CC') ## Kyle Benesch
build() {
cd "$pkgname/buildsys/autotools"
autoreconf -i
./configure --prefix=/usr
make
}
package() {
cd "$pkgname/buildsys/autotools"
make DESTDIR="$pkgdir" install
libtool --finish /usr/lib
install -Dm644 "$srcdir/$pkgname/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|