diff options
author | Nebulosa | 2024-05-02 14:57:33 +0300 |
---|---|---|
committer | Nebulosa | 2024-05-02 14:57:33 +0300 |
commit | 6c9f101dbc9c8034207e43ffdfeca3827e562460 (patch) | |
tree | 6d67a506b9b8e69ed582725287c6780a2bc97999 /PKGBUILD | |
parent | 260686ddca6023616b46e85efb83c6d07320c2d2 (diff) | |
download | aur-6c9f101dbc9c8034207e43ffdfeca3827e562460.tar.gz |
Update dependencies, fix man pages
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 25 insertions, 13 deletions
@@ -1,14 +1,26 @@ # Maintainer: Nebulosa <nebulosa2007-at-yandex-dot-ru> pkgname=chawan-git -pkgver=r1893.485fff9 +pkgver=r1938.3cc7f9d pkgrel=1 pkgdesc="Web browser for your terminal" arch=(x86_64) url="https://git.sr.ht/~bptato/${pkgname%-git}" license=(Unlicense) -depends=(gcc-libs glibc libseccomp ncurses openssl zlib) -makedepends=(git nim pandoc-cli) +depends=( + bash + gcc-libs + glibc + libseccomp + ncurses + openssl + zlib +) +makedepends=( + git + nim + pandoc +) optdepends=('termcap: to use display computer terminals in a device-independent manner') provides=(${pkgname%-git}) conflicts=(${pkgname%-git}) @@ -17,23 +29,23 @@ source=(${pkgname%-git}::git+$url) b2sums=('SKIP') pkgver() { - cd ${pkgname%-git} - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd ${pkgname%-git} + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { - cd ${pkgname%-git} - make submodule + cd ${pkgname%-git} + make submodule } build() { - cd ${pkgname%-git} - make LIBEXECDIR="/usr/lib/${pkgname%-git}" all - make manpage + cd ${pkgname%-git} + make all } package() { - cd ${pkgname%-git} - make PREFIX="$pkgdir/usr" LIBEXECDIR="$pkgdir/usr/lib/${pkgname%-git}" install - install -Dm644 UNLICENSE -t "$pkgdir"/usr/share/licenses/${pkgname%-git}/ + cd ${pkgname%-git} + install -vDm644 UNLICENSE -t "$pkgdir"/usr/share/licenses/${pkgname%-git}/ + install -vd "$pkgdir"/usr/share/man/man{1,5} + make DESTDIR="$pkgdir" PREFIX="/usr" LIBEXECDIR="$pkgdir"/usr/lib/${pkgname%-git} install } |