blob: 2c0fb0755f93e922483459c1a0c71595205ae66a (
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
34
|
# Maintainer: Adam Perkowski <adas1per@protonmail.com>
# Co-Maintainer: ikozyris <ikozyris1337@gmail.com>
# https://github.com/adamperkowski/PKGBUILDs
pkgname=kri
pkgver=0.8.2
pkgrel=1
pkgdesc='Simple, compact & very fast text editor'
arch=('x86_64')
url="https://github.com/ikozyris/$pkgname"
license=('GPL-3.0-or-later')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('399fc382ea385f332202c7bc7d7ea668b7ce74758806e2a2a8de94f7ee83be61')
makedepends=('gcc' 'make')
depends=('gcc-libs' 'glibc' 'ncurses')
build() {
cd "$pkgname-$pkgver"
make build
}
check() {
cd "$pkgname-$pkgver"
"./$pkgname" -h
}
package() {
cd "$pkgname-$pkgver"
install -Dm0755 "$pkgname" -t "$pkgdir/usr/bin"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
}
# vim: ts=2 sw=2 et:
|