summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 694f042f1df71b88800d51d534dd9976228ac9a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Shin-gema <Shin-gema@proton.me>
pkgname=tdl_terminal_directmedia_library
pkgver=1.0.2
pkgrel=1
pkgdesc="A graphical library that use the terminal as a display."
arch=('x86_64')
url="github.com/Shin-gema/TDL_Terminal-DirectMedia-Library"
license=('MIT')
depends=('libpng' 'openal' 'freetype2' 'libsndfile')
source=(https://github.com/Terminal-DirectMedia-Layer/TDL_Terminal-DirectMedia-Library/archive/refs/tags/${pkgver}.tar.gz)
sha256sums=('SKIP')
	
build() {
	cd "TDL_Terminal-DirectMedia-Library-${pkgver}"
	cmake -B build -S . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DEMO=OFF -DBUILD_SHARED_LIBS=ON
	sudo cmake --build build --target install
}

package() {
	cd "TDL_Terminal-DirectMedia-Library-${pkgver}"
}