summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d37293c13d99620b46e9f10160db52ed4443481c (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
# Maintainer: OSO <osospeed@hotmail.com>
pkgname=ttyecho-git
pkgver=r2.beb3ecc
pkgrel=1
pkgdesc="Send commands or data to other terminals."
arch=('any')
url="https://github.com/osospeed/ttyecho.git"
makedepends=('git')
sha1sums=('SKIP')

source=("$pkgname"::"git+${url}")

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$pkgname"
  make
}

package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="${pkgdir}/usr/bin/" install
}