diff options
author | aulonsal | 2021-06-08 03:00:02 +0530 |
---|---|---|
committer | aulonsal | 2021-06-08 03:39:32 +0530 |
commit | a5d028a24c48568050db2908ea01a76c8760e222 (patch) | |
tree | bcd735f2d86f55d59bc3395f2ecad19151220074 | |
parent | 4280ea2d4fbdc2727f93396fe84c8e0f8aef4604 (diff) | |
download | aur-a5d028a24c48568050db2908ea01a76c8760e222.tar.gz |
upgpkg: tt 0.4.1-1
upstream release
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 13 deletions
@@ -1,7 +1,7 @@ pkgbase = tt pkgdesc = Terminal based typing test - pkgver = 0.4.0 - pkgrel = 3 + pkgver = 0.4.1 + pkgrel = 1 url = https://github.com/lemnos/tt arch = x86_64 arch = i686 @@ -14,8 +14,7 @@ pkgbase = tt makedepends = go makedepends = git depends = glibc - source = tt-0.4.0::git+https://github.com/lemnos/tt/#commit=57357e2674e30912c6ebae7c0b5009d770ff50e0 - b2sums = SKIP + source = tt-0.4.1.tar.gz::https://github.com/lemnos/tt/archive/refs/tags/v0.4.1.tar.gz + b2sums = d42928da6dc3480613e1ecb81506fd4accbe22ef3dfb75b46d1e9471f24e6b5fcc47643de422d88093e03663340bfd3f01e3ad9ca48cea320ed9e6064d6fd14c pkgname = tt - @@ -1,9 +1,7 @@ # Maintainer: aulonsal <aulonsal at gmail dot com> pkgname=tt -# To match default theme with v4.0.0 binary release -_gitcommit=57357e2674e30912c6ebae7c0b5009d770ff50e0 -pkgver=0.4.0 -pkgrel=3 +pkgver=0.4.1 +pkgrel=1 pkgdesc="Terminal based typing test" arch=('x86_64' 'i686' 'pentium4' 'arm' 'armv6h' 'armv7h' 'aarch64' ) url="https://github.com/lemnos/tt" @@ -15,8 +13,8 @@ makedepends=( 'go' 'git' ) -source=("$pkgname-$pkgver::git+$url/#commit=$_gitcommit") -b2sums=('SKIP') +source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") +b2sums=('d42928da6dc3480613e1ecb81506fd4accbe22ef3dfb75b46d1e9471f24e6b5fcc47643de422d88093e03663340bfd3f01e3ad9ca48cea320ed9e6064d6fd14c') build() { export local CGO_CPPFLAGS="${CPPFLAGS}" @@ -32,7 +30,6 @@ build() { package() { cd "$pkgname-$pkgver" - install -Dm755 bin/tt -t "$pkgdir/usr/bin" - install -Dm644 tt.1.gz -t "$pkgdir/usr/share/man/man1" + make DESTDIR="$pkgdir" PREFIX='/usr' install install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" } |