blob: 4dcab12696ddad1b5df1b05cfc0939f7fdc8a3aa (
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
34
35
36
37
38
39
40
|
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer:
pkgname=vimpager
pkgver=1.8.9
pkgrel=0
pkgdesc="Use ViM as PAGER (less.sh replacement)"
url="https://github.com/rkitover/vimpager"
arch="noarch"
license="BSD"
depends="vim"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="https://github.com/rkitover/${pkgname}/archive/${pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}" PREFIX=/usr SYSCONFDIR=/etc install || return 1
}
md5sums="ca908665e84fc11d651abed48de4d174 1.8.9.tar.gz"
sha256sums="846c0069e1abeb95d404ae5874f038bf68139f714261e17815fc21999afeb6ef 1.8.9.tar.gz"
sha512sums="6544600d527159df69f94e976b42adb5fa8651b87ca3aa4e8da52aa197988e14b1efedf9850b6fdb9a9b5716eb1071a6bed45a3f10f41ab63e36eef91b1b3f97 1.8.9.tar.gz"
|