diff options
Diffstat (limited to 'unmaintained/vimpager/APKBUILD')
-rw-r--r-- | unmaintained/vimpager/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/vimpager/APKBUILD b/unmaintained/vimpager/APKBUILD new file mode 100644 index 0000000000..4dcab12696 --- /dev/null +++ b/unmaintained/vimpager/APKBUILD @@ -0,0 +1,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" |