summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e607be3b2bf5ae5c3b0cd3a796cc37dc0b12210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: morning_star <livef3@aol.com>

pkgname=kbtin
pkgver=2.1
pkgrel=1
pkgdesc="Very heavily extended clone of well-known TinTin++"
arch=('x86_64')
url="https://github.com/kilobyte/kbtin"
license=('GPL-2.0-or-later')
depends=('zlib' 'gnutls' 'hyperscan')
makedepends=('cmake' 'perl' 'valgrind')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha512sums=('94b3b07381b6b8f37b14266d37f574a9b2381fcbe8bc2ae0a15cec6e25c435d973012486230fe036acb4b42bc2e231a730b8fc9153d7834e9acbaf0a264168ff')

build() {
  cmake -B build -S $pkgname-$pkgver \
    -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}