summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d9ca0af7bed57e37c06c477e67a2ec3f71bf8448 (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: Vitor Gonçalves <vitorg@tilde.team>
_pkgname=input
pkgname=input-prompt
pkgver=0.7.2
pkgrel=1
pkgdesc="Prompt for input with readline-like key bindings"
arch=('x86_64')
url="https://github.com/nmeum/input"
license=('GPL3')
depends=('readline')
makedepends=('make')
source=("$pkgname-$pkgver.tar.gz::https://github.com/nmeum/$_pkgname/releases/download/$pkgver/$_pkgname-$pkgver.tar.gz")

build() {
	cd "$_pkgname-$pkgver"
	make
}

package() {
	cd "$_pkgname-$pkgver"
	make PREFIX="$pkgdir/usr" install
}
sha256sums=('47b1ad0603ede5ae3dd1f014b2eca7cb57b0da3a96857d53d5cf7e2688b8562a')