aboutsummaryrefslogtreecommitdiffstats
path: root/libterminput/PKGBUILD
blob: 0b7d8e76171f072a6c27ace8e045ca0cc7d5dde1 (plain) (blame)
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
# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>

pkgname=libterminput
pkgver=1.0.3
pkgrel=1
pkgdesc="Terminal input parsing library"
arch=(x86_64)
url="https://codeberg.org/maandree/libterminput"
license=('ISC')
depends=()
checkdepends=()
makedepends=()
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(474c52d37b9705b6c5c81d2f21aa0ac0c0989d4c5a37fec10c92f743789dcbbe)

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

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

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