summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ec5da5911688793c0e6708a92937936605d570db (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
30
31
32
33
pkgname=timer-rs-bin
_pkgname=timer
pkgver=0.6.0
pkgrel=2
pkgdesc="Simple countdown terminal alarm. Useful for pomodoros too. Git release binary"
arch=('x86_64')
url="https://github.com/pando85/timer"
license=('GPL-3.0-only')
groups=()
depends=()
makedepends=()
optdepends=()
provides=('timer')
conflicts=(timer-rs-git)
replaces=()
backup=()
options=()
install=
changelog=
_urlprefix="https://github.com/pando85/${_pkgname}/releases/download/v${pkgver}"
_source="${_pkgname}-${pkgver}-${arch}-unknown-linux-gnu.tar.gz"
source=(${_urlprefix}/${_source})
noextract=()
sha256sums=('ba9174643bf33757d5df93c8aecded59552941100eb46c243059283c7891d1e8')

prepare() {
  cd "${srcdir}"
  tar -xf "$_source"
}

package() {
  install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
}