blob: 604f379c72c5d8b3632a98dc335f17ffdc3fbbad (
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
|
# Maintainer: Francesco Minnocci <ascoli dot minnocci at gmail dot com>
# Contributor: thaliarchos <thaliarchos at protonmail dot com>
pkgname=bookmenu-git
pkgver=r165.e6947cf
pkgrel=1
pkgdesc="Command line utility to browse and download ebooks from LibGen, using the InterPlanetary File System."
arch=('any')
url="https://github.com/kusky3/bookmenu"
license=('GPL3')
depends=('chafa' 'wget')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/kusky3/bookmenu')
sha512sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${pkgname%-git}"
install -Dm755 "${pkgname%-git}" "${pkgdir}/usr/bin/${pkgname%-git}"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
}
|