diff options
author | Wesley Moore | 2022-08-07 13:45:24 +1000 |
---|---|---|
committer | Wesley Moore | 2022-08-07 13:45:24 +1000 |
commit | 904140c9d4218bc05c0589af80271cb8083bc39e (patch) | |
tree | 7b96f1c6ad59b602cc237d9ca0acbe415c3b377f | |
download | aur-904140c9d4218bc05c0589af80271cb8083bc39e.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d5cb9103f88a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = clock-tui + pkgdesc = A clock, timer, and stopwatch for your terminal + pkgver = 0.3.0 + pkgrel = 1 + url = https://github.com/race604/clock-tui + arch = x86_64 + license = MIT + makedepends = cargo + source = clock-tui-0.3.0.tar.gz::https://github.com/race604/clock-tui/archive/v0.3.0.tar.gz + sha256sums = ef59875b9fc055fc5bad89745bef8b4ff140c2f4bb24f9513025fb56b4460403 + +pkgname = clock-tui diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fa9cf54c5b55 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Wesley Moore <wes@wezm.net> +pkgname=clock-tui +pkgver=0.3.0 +pkgrel=1 +pkgdesc="A clock, timer, and stopwatch for your terminal" +arch=("x86_64") +url="https://github.com/race604/clock-tui" +license=('MIT') +makedepends=('cargo') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('ef59875b9fc055fc5bad89745bef8b4ff140c2f4bb24f9513025fb56b4460403') + +build() { + cd "$pkgname-$pkgver" + cargo build --release --locked +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -Dm755 "target/release/tclock" "$pkgdir/usr/bin/tclock" + # LICENSE file is pending + # install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + |