diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..31e97724aaae --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} |