X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 8E28CDC00D3 for ; Mon, 7 Apr 2014 13:21:55 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id l18so6747141wgh.31 for ; Mon, 07 Apr 2014 06:21:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=VmK2KU7A1qk7XrfUWDxjPMv2+X4GrxIcbJf98wS0/3o=; b=BIcNS/1jZ9NT7ijnk/qtb0qEUzRSh4h+tHLO0NwE9R/5bNiPGh4BzeMPcWaH4yVBJ7 zVk+S9gcVC8cW6LzROJFjQ6AmChDmIwryK1EiktrLQadMksakjfM5MjuuPJ19TA6xCNB T6smOKYdq5TEHdsDf8OLAMmo/G8lCpqdBfTNeQczZKtz+qkf+NA0ZRS6xMGYaXZPjCN+ nn7TDWlzuE51A3qSDwTAcdcbykTRbSJA+XicuOLSZuJAJXvCFABTyLki+DhGmNol5A9x TS6tjSvoooQpJDMaiVFjRj8xgt20s0X2OkGr7kGIt6PIwyW0IMU2xmbPRi9HwqBRzkOa 6JdA== X-Gm-Message-State: ALoCoQmsy4idpmc1N5WhWih3hojYnfDgzN9PXaRJ+0VWDE4WY/iIJbNZnoYNq9mH7ZZSOYkQ2dvs X-Received: by 10.194.94.39 with SMTP id cz7mr2051341wjb.78.1396876913087; Mon, 07 Apr 2014 06:21:53 -0700 (PDT) Received: from scandium.members.linode.com (li703-102.members.linode.com. [88.80.191.102]) by mx.google.com with ESMTPSA id fb6sm23914253wib.2.2014.04.07.06.21.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Apr 2014 06:21:52 -0700 (PDT) From: Eivind Uggedal To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH] main/vim: split vimdiff out to subpackage Date: Mon, 7 Apr 2014 13:21:36 +0000 Message-Id: <1396876896-7191-1-git-send-email-eivind@uggedal.com> X-Mailer: git-send-email 1.9.1 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Since vimdiff does not work with busybox diff we can depend on diffutils in the subpackage. --- main/vim/APKBUILD | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/main/vim/APKBUILD b/main/vim/APKBUILD index dde552ffef52..b227bff9759c 100644 --- a/main/vim/APKBUILD +++ b/main/vim/APKBUILD @@ -3,14 +3,14 @@ pkgname=vim pkgver=7.4 _srcver=${pkgver%.*} _patchver=${pkgver##*.} -pkgrel=2 +pkgrel=3 pkgdesc="advanced text editor" url="http://www.vim.org" arch="all" license='GPL' depends= makedepends="ncurses-dev lua5.2-dev" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc ${pkgname}diff" #source="http://dev.alpinelinux.org/archive/vim/vim-$pkgver.tar.xz source="ftp://ftp.vim.org/pub/vim/unix/vim-$pkgver.tar.bz2 vim-gcc47.patch @@ -48,6 +48,15 @@ package() { install -D "$srcdir"/vimrc "$pkgdir"/etc/vim/vimrc } +vimdiff() { + pkgdesc="view file diffs in vim" + arch="noarch" + depends="diffutils" + + install -d "$subpkgdir"/usr/bin || return 1 + mv "$pkgdir"/usr/bin/vimdiff "$subpkgdir"/usr/bin +} + md5sums="607e135c559be642f210094ad023dc65 vim-7.4.tar.bz2 a2e71b09d38921d43d2a552d4f0bd1aa vim-gcc47.patch 97aecde2ab504e543a96bec84b3b5638 vimrc" -- 1.9.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---