summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1d61db78a88635ce70c90d160a9d2f2368d774b0 (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
# Maintainer: Vbextreme <@>
# Contributor: Vbextreme <@>
pkgname=('terminalgraphics')
pkgdesc='display image and video on terminal'
pkgver='0.7'
pkgrel=1
arch=('x86_64')
url='https://github.com/vbextreme/tg'
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/vbextreme/tg/archive/v${pkgver}.tar.gz")
license=('GPL3')
sha256sums=('SKIP')
makedepends=('meson')
depends=('easyframework')

prepare() {
    cd "tg-${pkgver}"
    meson build -Dprefix=/usr
}

build() {
    cd "tg-${pkgver}/build"
    ninja
}

package() {
    cd "tg-${pkgver}/build"
    DESTDIR="$pkgdir" ninja install
}