summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 31e97724aaae6592203c808d32d1e1427be334ee (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
# Maintainer: CobbCoding
pkgname=cano
_pkgname=Cano
# alpha is represented by the last 0 since pkgver cannot contain '-'
pkgver=0.1.0
_pkgver=0.1.0-alpha
pkgrel=1
pkgdesc="Terminal-based modal text editor"
arch=('x86_64')
url="https://github.com/CobbCoding1/cano"
license=('APACHE')
depends=('glibc' 'ncurses')
makedepends=('make' 'gcc')
conflicts=('cano-git')
source=("$pkgname-$pkgver::https://github.com/CobbCoding1/Cano/archive/refs/tags/v$_pkgver.tar.gz")
md5sums=('SKIP')

build() {
	cd "$_pkgname-$_pkgver"
    make -B
}

package() {
	cd "$_pkgname-$_pkgver"
	make install
    install -Dm755 ./README.md "$pkgdir/usr/share/doc/$pkgname"
}