summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 33a3af5cded946e541363670f63f160284b429e0 (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=tgui8
pkgver=v0.8.9
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.8.9.tar.gz")
sha256sums=('SKIP')

build() {
  cd "$srcdir/TGUI-0.8.9"
  cmake -DCMAKE_INSTALL_PREFIX=/usr . \
        -DCMAKE_BUILD_WITH_INSTALL_RPATH=true
  make
}

package() {
  cd "$srcdir/TGUI-0.8.9"
  make DESTDIR="$pkgdir/" install
  install -Dm644 ./license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}