diff options
author | CobbCoding | 2024-01-13 20:20:28 -0500 |
---|---|---|
committer | CobbCoding | 2024-01-13 20:20:28 -0500 |
commit | 4be23537191201f7d7516a459868cad6799cc031 (patch) | |
tree | c604bd6c239e0bced308b926a19a67f2415168c2 /PKGBUILD | |
parent | d31216b4d918ead016d8f05df2f2cb8c759f9b7b (diff) | |
download | aur-4be23537191201f7d7516a459868cad6799cc031.tar.gz |
setting up repo
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1,28 +1,29 @@ # Maintainer: CobbCoding -pkgname='cano' -pkgver=r92.cde2854 +pkgname=cano-git +_pkgname=cano +pkgver=r93.8efde9f pkgrel=1 pkgdesc="Terminal-based modal text editor" arch=('x86_64') url="https://github.com/CobbCoding1/cano" license=('APACHE') depends=('ncurses' 'glibc') -makedepends=('git' 'make' 'ncurses' 'gcc') -source=("$pkgname::git+https://github.com/CobbCoding1/$pkgname.git") +makedepends=('git' 'make' 'gcc') +source=("$_pkgname::git+https://github.com/CobbCoding1/$_pkgname.git") md5sums=('SKIP') pkgver() { - cd "$pkgname" + cd "$_pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd "$pkgname" + cd "$_pkgname" make -B } package() { - cd "$pkgname" - install -Dm755 ./build/"$pkgname" "$pkgdir/usr/bin/$pkgname" - install -Dm755 ./README.md "$pkgdir/usr/share/doc/$pkgname" + cd "$_pkgname" + install -Dm755 ./build/"$_pkgname" "$pkgdir/usr/bin/$_pkgname" + install -Dm755 ./README.md "$pkgdir/usr/share/doc/$_pkgname" } |