blob: 42274d73d92192fd5f19d6f4e0b30989e1fe90fa (
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
|
## Maintainer: realasking
pkgname=readpdf-git
pkgver=0.1
pkgrel=1
pkgdesc='A simple script for pdf reading on tty.'
arch=(x86_64 i686)
url='https://github.com/realasking/tty_pdf_reading'
license=('GPLv3')
depends=('poppler' 'fbida')
source=()
md5sums=()
_proj=https://github.com/realasking/tty_pdf_reading.git
_name=tty_pdf_reading
prepare() {
cd "${srcdir}"
msg "Starting Git..."
if [[ -d "$_proj" ]]; then
cd "$_proj"
git pull origin
else
git clone "$_proj" "$_name"
fi
msg "Project synchronization Finished."
}
package() {
cd "$srcdir/$_name"
install -Dm755 readpdf.sh "${pkgdir}/usr/bin/readpdf"
}
|