aboutsummaryrefslogtreecommitdiffstats
path: root/main/vim
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-08-25 19:46:04 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-05 13:05:36 +0200
commit137cc06abc1f345925a4d28485a774efe9ea731a (patch)
tree5084f38e34ed16f380ed80948dd89ea5a35ca198 /main/vim
parent3e4dc327b193eb85e43c466be9f13d3a82101f1a (diff)
downloadaports-137cc06abc1f345925a4d28485a774efe9ea731a.tar.bz2
aports-137cc06abc1f345925a4d28485a774efe9ea731a.tar.xz
main/vim: vim is not licensed under GPL
Diffstat (limited to 'main/vim')
-rw-r--r--main/vim/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/vim/APKBUILD b/main/vim/APKBUILD
index 42f15cef76..cb1707e94d 100644
--- a/main/vim/APKBUILD
+++ b/main/vim/APKBUILD
@@ -3,12 +3,12 @@ pkgname=vim
pkgver=7.4.712
_srcver=${pkgver%.*}
_patchver=${pkgver##*.}
-pkgrel=0
+pkgrel=1
pkgdesc="advanced text editor"
url="http://www.vim.org"
arch="all"
-license='GPL'
-depends=
+license="custom"
+depends=""
makedepends="ncurses-dev lua5.2-dev"
subpackages="$pkgname-doc ${pkgname}diff"
# hg clone https://vim.googlecode.com/archive/v${pkgver//./-}.tar.gz
@@ -36,14 +36,18 @@ build() {
--enable-multibyte \
--enable-gui=no \
--with-lua-prefix=/usr/lua5.2 \
+ --with-compiledby="Alpine Linux" \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
- make -j1 DESTDIR="$pkgdir/" install
- install -D "$srcdir"/vimrc "$pkgdir"/etc/vim/vimrc
+ make DESTDIR="$pkgdir/" install
+
+ install -Dm644 runtime/doc/uganda.txt \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
+ install -D "$srcdir"/vimrc "$pkgdir"/etc/vim/vimrc || return 1
}
vimdiff() {