blob: e385c9c9c5aa49a4c7d50c4888cd18d32a0b293b (
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
30
31
32
33
|
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
# Contributor: Jacob Gogichaishvili <jggsecondary@gmail.com>
_pkgname="zaread"
pkgname="${_pkgname}-git"
pkgver=r47.9239db1
pkgrel=4
pkgdesc="A (very) lightweight ebook and Office document reader"
arch=("any")
url="https://github.com/paoloap/zaread"
license=("GPL")
depends=("zathura")
optdepends=("libreoffice: To view office suite files"
"calibre: To view MOBI files"
"md2pdf: To view markdown files")
makedepends=('git')
provides=("zaread")
conflicts=("zaread")
source=('git+https://github.com/paoloap/zaread.git')
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
mkdir -p "${pkgdir}/usr/bin"
install -Dm755 "${srcdir}/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${_pkgname}/"
install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${_pkgname}/"
}
|