blob: f0db126334889344eae3f1bc08e260a3ce4eb556 (
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
|
# Maintainer: Adam Perkowski <adas1per@protonmail.com>
# https://github.com/adamperkowski/PKGBUILDs
pkgname=kri
pkgver=0.8.1
pkgrel=1
pkgdesc='Light and very fast benchmarked 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=('ae183fb8cccfbb618f0dd3c2a3f6e7ac9e62949a84df2d2d3cd1229fde925a22')
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:
|