diff options
author | otreblan | 2023-02-23 19:56:14 -0500 |
---|---|---|
committer | otreblan | 2023-02-23 19:56:14 -0500 |
commit | e1047da2aab23b365a448e44425a960da87da64b (patch) | |
tree | d52abd9db74aed5cced67d84652e6000f2627442 | |
parent | 0cfd2c840ff0e865ca5ca6057b500df0989bda44 (diff) | |
download | aur-e1047da2aab23b365a448e44425a960da87da64b.tar.gz |
Bump to 2.1.0
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 11 deletions
@@ -1,13 +1,12 @@ pkgbase = termcolor pkgdesc = A header-only C++ library for printing colored messages to the terminal - pkgver = 2.0.0 + pkgver = 2.1.0 pkgrel = 1 url = https://github.com/ikalnytskyi/termcolor arch = x86_64 - license = MIT + license = BSD makedepends = cmake - source = termcolor-2.0.0.tar.gz::https://github.com/ikalnytskyi/termcolor/archive/v2.0.0.tar.gz - sha256sums = 4a73a77053822ca1ed6d4a2af416d31028ec992fb0ffa794af95bd6216bb6a20 + source = termcolor-2.1.0.tar.gz::https://github.com/ikalnytskyi/termcolor/archive/v2.1.0.tar.gz + sha256sums = 435994c32557674469404cb1527c283fdcf45746f7df75fd2996bb200d6a759f pkgname = termcolor - @@ -1,13 +1,13 @@ # Maintainer: Otreblan <otreblain@gmail.com> pkgname=termcolor -pkgver=2.0.0 +pkgver=2.1.0 pkgrel=1 epoch= pkgdesc="A header-only C++ library for printing colored messages to the terminal" arch=('x86_64') url="https://github.com/ikalnytskyi/termcolor" -license=('MIT') +license=('BSD') groups=() depends=() makedepends=('cmake') @@ -16,7 +16,7 @@ optdepends=() provides=() conflicts=() source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('4a73a77053822ca1ed6d4a2af416d31028ec992fb0ffa794af95bd6216bb6a20') +sha256sums=('435994c32557674469404cb1527c283fdcf45746f7df75fd2996bb200d6a759f') prepare() { mkdir -p "$pkgname-$pkgver/build" @@ -28,11 +28,12 @@ build() { cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ .. - make + cmake --build . } package() { - cd "$pkgname-$pkgver/build" + cd "$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install + DESTDIR="$pkgdir/" cmake --install build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |