X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com [209.85.213.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 81136DC00E9 for ; Wed, 27 Aug 2014 03:32:57 +0000 (UTC) Received: by mail-ig0-f181.google.com with SMTP id h3so5553501igd.8 for ; Tue, 26 Aug 2014 20:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=QHYMPGPrNWXa8KeQ00gcvogm+H9a8RgCQpnS6xtsn5A=; b=Ma0xETY5hEgD0OWIz9ENDbh+CBgVX7Ulmf7HgoAjxIyigjgEJGqM/OrqL+LSUzjaBc Ij5DvN4wqqSwdHFFIl7VEOwJbAGjZ3iCtXesD8LTDwlLu6kmUIXkgBLU8D1CJhg/jGOQ aHseBPA7JGLPsSwE8NR2JYVmS/hKl0eBj9HyyzpF/7woJBOFI8Z0QBBDLUiG8NobR1/2 lOFxVHHiHy30IvYwkonEzaoOIAXBaAE4/EmPALYDZfFE9yvhVOHsYZjz7UGIe93sIguP A3RsOxkYB4PkO/Im3RyQ76bp2qSZqba5/bVNor7UeXMrGamSQ4LPV8vIfS/3iZBlsnsn GAiw== X-Received: by 10.50.61.138 with SMTP id p10mr27194891igr.20.1409110375320; Tue, 26 Aug 2014 20:32:55 -0700 (PDT) Received: from localhost.localdomain (97-90-234-80.dhcp.eucl.wi.charter.com. [97.90.234.80]) by mx.google.com with ESMTPSA id j4sm10628658igx.20.2014.08.26.20.32.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Aug 2014 20:32:54 -0700 (PDT) From: Peter Bui To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH] testing/vimpager: new aport Date: Tue, 26 Aug 2014 22:32:01 -0500 Message-Id: <1409110321-5323-1-git-send-email-pnutzh4x0r@gmail.com> X-Mailer: git-send-email 2.1.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://github.com/rkitover/vimpager Use ViM as PAGER (less.sh replacement) --- testing/vimpager/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/vimpager/APKBUILD diff --git a/testing/vimpager/APKBUILD b/testing/vimpager/APKBUILD new file mode 100644 index 0000000..4dcab12 --- /dev/null +++ b/testing/vimpager/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Peter Bui +# 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" -- 2.1.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---