summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e85552bfb232d4c5a1ab8dda4d1d86dea0864b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: ThiBsc <thibsc at tutanota dot com>
pkgname=stopwatchcpp
_gitname=stopwatch
_binaryname=sw
pkgver=v1
pkgrel=1
pkgdesc="A command line stopwatch"
arch=('any')
url="https://github.com/thibsc/stopwatch"
license=('MIT')
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')

build() {
	cd ${srcdir}/${_gitname}
	make
}

package() {
	install -Dm755 ${srcdir}/${_gitname}/bin/${_binaryname} ${pkgdir}/usr/bin/${_binaryname}
}