summaryrefslogtreecommitdiffstats
path: root/main/vim/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-05 09:11:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-05 09:11:53 +0000
commit9d47bc5326f47dfff329543d488c5d41e2421f55 (patch)
treeaa276512a460e965959026804b9f550dcb938943 /main/vim/APKBUILD
parentb75bc449abcf6f0862dfe0bb26dddb5e80a59c4a (diff)
downloadaports-9d47bc5326f47dfff329543d488c5d41e2421f55.tar.bz2
aports-9d47bc5326f47dfff329543d488c5d41e2421f55.tar.xz
main/vim: upgrade to 7.3.154
Diffstat (limited to 'main/vim/APKBUILD')
-rw-r--r--main/vim/APKBUILD181
1 files changed, 56 insertions, 125 deletions
diff --git a/main/vim/APKBUILD b/main/vim/APKBUILD
index 68074b88a..3cc66104c 100644
--- a/main/vim/APKBUILD
+++ b/main/vim/APKBUILD
@@ -1,9 +1,9 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vim
-pkgver=7.3.112
+pkgver=7.3.154
_srcver=${pkgver%.*}
_patchver=${pkgver##*.}
-pkgrel=1
+pkgrel=0
pkgdesc="advanced text editor"
url="http://www.vim.org"
arch="all"
@@ -14,138 +14,27 @@ subpackages="$pkgname-doc"
# use "abuild patchlist >> APKBUILD" to generate the list of patches
source="ftp://ftp.vim.org/pub/vim/unix/vim-${_srcver}.tar.bz2
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.001
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.002
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.003
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.004
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.005
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.006
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.007
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.008
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.009
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.010
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.011
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.012
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.013
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.014
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.015
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.016
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.017
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.018
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.019
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.020
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.021
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.022
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.023
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.024
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.025
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.026
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.027
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.028
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.029
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.030
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.031
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.032
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.033
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.034
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.035
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.036
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.037
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.038
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.039
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.040
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.041
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.042
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.043
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.044
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.045
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.046
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.047
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.048
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.049
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.050
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.051
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.052
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.053
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.054
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.055
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.056
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.057
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.058
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.059
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.060
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.061
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.062
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.063
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.064
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.065
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.066
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.067
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.068
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.069
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.070
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.071
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.072
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.073
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.074
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.075
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.076
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.077
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.078
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.079
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.080
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.081
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.082
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.083
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.084
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.085
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.086
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.087
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.088
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.089
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.090
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.091
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.092
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.093
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.094
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.095
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.096
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.097
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.098
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.099
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.100
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.101
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.102
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.103
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.104
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.105
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.106
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.107
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.108
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.109
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.110
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.111
- ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.112
vimrc
"
-# this generates the patches list
-patchlist() {
- local i j
- for i in $(seq 1 $_patchver); do
- local v=$(printf "%0.3i" $i)
- echo -e "\tftp://ftp.vim.org/pub/vim/patches/$_srcver/$_srcver.$v"
- done
-}
+# generate url's to patches. note: no forks allowed!
+_i=1
+_pad="00"
+while [ $_i -le $_patchver ]; do
+ [ $_i -ge 10 ] && _pad="0"
+ [ $_i -ge 100 ] && _pad=
+ source="$source http://ftp.vim.org/pub/vim/patches/$_srcver/$_srcver.$_pad$_i"
+ _i=$(( $_i + 1))
+done
-_builddir="$srcdir"/${pkgname}73
+_builddir="$srcdir"/${pkgname}${_srcver/./}
prepare() {
local i
cd "$_builddir"
for i in $source ; do
case $i in
- *.patch)
+ *.patch|$_srcver.[0-9]*)
msg "Applying $i"
patch -p0 < $i || return 1
;;
@@ -173,6 +62,7 @@ package() {
}
md5sums="5b9510a17074e2b37d8bb38ae09edbf2 vim-7.3.tar.bz2
+97aecde2ab504e543a96bec84b3b5638 vimrc
aa5582d8289b43255f45d4bb6f62e140 7.3.001
2949cbdfe86f533c487fd144c5935c7a 7.3.002
9059db41cf3a468935745242cb9c0514 7.3.003
@@ -285,4 +175,45 @@ bd660ce14300a3110ea7638c1e11eabd 7.3.109
ee0dc9b0b38308aa235f0b2b3e5dcea5 7.3.110
c91b1fb95f25fa9e0915b9e8cf613a49 7.3.111
67f989ce99ce53c7ab6df5478ca3a90c 7.3.112
-97aecde2ab504e543a96bec84b3b5638 vimrc"
+4da7b00c8009a2ebcef6b9dac625bd5f 7.3.113
+5b4db3de0ecef5ca677cba0aedcdff89 7.3.114
+3aa1850a33864d0476104c12be96047d 7.3.115
+31c69a15462f16a6f7601a50a3eaf89b 7.3.116
+9c4c855111dc6acda7c05488da75c7b4 7.3.117
+0ef3f26f6ebd0ae418dae472eb6afcc1 7.3.118
+0010f602a56167a874739c1101da5255 7.3.119
+6cd06c54fe40ab1082fafa461174ab23 7.3.120
+7d4f0af28d817baea5e6c43bde1e1df2 7.3.121
+363a24bec321be90193b60b10e29587b 7.3.122
+7f31de4c9fffd8e504685eef84666dae 7.3.123
+642c96e6a15b67f38022131b5e46132a 7.3.124
+5fc1a25eaae81f91557672a2426b74e1 7.3.125
+6ff55983c952781418172f93374db783 7.3.126
+84ef6940f97c7c946d136dad4ac81d3b 7.3.127
+d56e9032d55d99d19ddb9dfd8f52ccf2 7.3.128
+4a7699f7db4032b1d67e52b3d384b647 7.3.129
+f1a33fe74ead0aaf7a440a7432480d6f 7.3.130
+bbf7bb68b777b831029082e0e865dc2d 7.3.131
+3f761bf7b71b038dc2f775781e6847e5 7.3.132
+7cc3bce20547604b0521be8383c9a6d0 7.3.133
+a34e3da262050d97cb9db46acdd4490b 7.3.134
+b75499f0b035962d7f19de1e2b866f35 7.3.135
+a3631062779f49ed4ab4bc7f87fd307c 7.3.136
+53a736c4dbf298fa465f01d06c15de0b 7.3.137
+a51e6c61c24303a90941571b6bd7753b 7.3.138
+8da651b02794bc7a34286e455e916a2f 7.3.139
+6312930f6a176305bd4f9838700605e6 7.3.140
+2c9665b8da67d1712db9d300b87fc07c 7.3.141
+613a153f1b0901b76f0026a51f19530e 7.3.142
+c3132b4cddda5fa3c11c048c5297e872 7.3.143
+cc8986b4f694b76cb348375c158034d6 7.3.144
+c919c2ea5b3e5b397a53eb8fcc4accde 7.3.145
+d3790014ac6c74d4691e64a839ac0d3a 7.3.146
+5816612acbb7e9862e71defb7e596243 7.3.147
+7610c456812aa93bacaedb8fb90a638b 7.3.148
+7f689222db2fbbc2a1c616b4e2eb6f50 7.3.149
+4ccdacef73da3c14360832393fd18956 7.3.150
+0322e8b82527503b08911c3436f4e5b7 7.3.151
+60e6111797abb558f9869b72892de126 7.3.152
+e791726fd04b11b9293f472fe9e3cb51 7.3.153
+1def37c933f7b1a0aaeb6bb8545e91de 7.3.154"