blob: e759c7471fde3b222c2c9c8491f9e53f27ad5715 (
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
|
# Maintainer: Kacper PiwiĆski <cosiekvfj@o2.pl>
pkgname=tgui
pkgver=v0.9.1
pkgrel=1
pkgdesc="Cross-platform C++ GUI library for SFML"
arch=('i686' 'x86_64')
url="https://tgui.eu/"
license=('ZLIB')
depends=('sfml')
makedepends=('coreutils' 'make' 'cmake')
source=("https://github.com/texus/TGUI/archive/v0.9.1.tar.gz")
sha256sums=('SKIP')
build() {
cd "$srcdir/TGUI-0.9.1"
cmake -DCMAKE_INSTALL_PREFIX=/usr . \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=true
make
}
package() {
cd "$srcdir/TGUI-0.9.1"
make DESTDIR="$pkgdir/" install
install -Dm644 ./license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|