summaryrefslogtreecommitdiffstats
path: root/main/vim/APKBUILD
blob: 57862e5bad368e2652f9ed669a2d06b7f0cf524a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vim
pkgver=7.3.206
_srcver=${pkgver%.*}
_patchver=${pkgver##*.}
pkgrel=1
pkgdesc="advanced text editor"
url="http://www.vim.org"
arch="all"
license='GPL'
depends=
makedepends="ncurses-dev lua-dev"
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
	vimrc
	"

# 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}${_srcver/./}
prepare() {
	local i
	cd "$_builddir"

	for i in $source ; do
		case $i in
		*.patch|$_srcver.[0-9]*)
			msg "Applying $i"
			patch -p0 < $i || return 1
			;;
		esac
	done

	# Read vimrc from /etc/vim
	echo '#define SYS_VIMRC_FILE "/etc/vim/vimrc"' >> src/feature.h
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--enable-luainterp \
		--without-x \
		--disable-nls \
		--enable-multibyte \
		--enable-gui=no
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir/" install
	install -D "$srcdir"/vimrc "$pkgdir"/etc/vim/vimrc
}

md5sums="5b9510a17074e2b37d8bb38ae09edbf2  vim-7.3.tar.bz2
97aecde2ab504e543a96bec84b3b5638  vimrc
aa5582d8289b43255f45d4bb6f62e140  7.3.001
2949cbdfe86f533c487fd144c5935c7a  7.3.002
9059db41cf3a468935745242cb9c0514  7.3.003
9aaa4490d2fbf9a1e780a151fb41f279  7.3.004
bf5b5fad8c4de23449fa7c7c01969369  7.3.005
f53d95dfb1eee5f5f769594174d0e9d4  7.3.006
a7a4c56110662bc3ba6fbb2fd645d94f  7.3.007
be756a231afe754d004b6c8a9d12bb50  7.3.008
f4ed2feff44e2c1898fd5e60f9f97b0d  7.3.009
4fffed01d3683b0b8b23df600a0bada2  7.3.010
4ee8f06dce300c0be029bf00b03ef093  7.3.011
89faf7d5eef1d1d50b657fe34ee7c90b  7.3.012
6a029d61f7d51c1bea55330732676319  7.3.013
d0109c0c413c405fdb827ec20f3903d8  7.3.014
4db0a869dbe00c360541ad2c1ca87a2d  7.3.015
e0c634532a865d7ed47942080e371b3e  7.3.016
f52aa5bc3df02c3bb4c75849b2b5f431  7.3.017
02270ecbc1dc2f57de80441ac7cdd0f0  7.3.018
5c1be1a0a107261e0a716c877c82fc97  7.3.019
ef09917435a7cab9382abe3708cf5152  7.3.020
53c90651baf1b4b28c99947de58deb91  7.3.021
c4cb1bf3fa0a45d9cad997cd02fa9439  7.3.022
1e34e216b0e419096f796d3511ce88da  7.3.023
5c2ff27d8ce8d1aeb42ff16ca1cb89c2  7.3.024
69b3e00a17230da16d3be4b96f125196  7.3.025
687a80a82d05e8e91e9ee659b3e0dd67  7.3.026
1994a0d1e52111b9fa1b999745da93b8  7.3.027
2438a52f25cf167bbf5711fc8c7323d7  7.3.028
302ca6aa621c215736f3db069f8c2285  7.3.029
ceb0e12297907b13dd39fafffa731c62  7.3.030
acb42f7f4545a63d35396360dc2799ff  7.3.031
56c9d1681bfc9fe5e76c281b905f0ad8  7.3.032
4a399b6f1bcde6d991088118f5a58222  7.3.033
40580589a13a36cc72a600200b93b8d2  7.3.034
8f7a617b0cf8fea46e4b1557bc286fda  7.3.035
3ac58b7fe8347ad87f3628bfb4970f1b  7.3.036
d83c7635e8b65db98a377f3cc7b72ce0  7.3.037
a310c68726540ac1a0759ef12778bed1  7.3.038
6b7243d85b86e03b4a782e4bf6d7646e  7.3.039
8aa33a527433f1907b72ac7c514d455d  7.3.040
979abe1512bc48dbaed028a23cb2f6cc  7.3.041
984ce81978ef2b12b3a09986d37e4719  7.3.042
27b2418128b4322c3cb92b13d577ad6c  7.3.043
c29e637b242682dc6df544a0bc89abc4  7.3.044
bd6ac17eecf226a2d6a31e4fb9069ded  7.3.045
d97f518c548de06b11b5682f2ca4d9a9  7.3.046
ae37e72299f02ea1b7f2bb59932ed306  7.3.047
39aaaf13dfef317febb2442626f262f1  7.3.048
6469fb212e95ad83c21aaaaf8aee0f3a  7.3.049
e40dc723ef91adee9854faceaba1e201  7.3.050
5611eda78907716863ebd6ebd19a000f  7.3.051
01011da656094510c1cdabbc80c129b9  7.3.052
faaf035020dcf22b57fa76c998e4553b  7.3.053
90bd11788f022dc1107f93e702734a2a  7.3.054
5b4fe73d1c47ab36a6b0a8f5ddd2fe65  7.3.055
b53b7452e5b92bb1b91e9dd97e52dfcd  7.3.056
bce5e42b7d2b7a91c332e39ed1f0eec8  7.3.057
1c6054466398f4612a81289de764ef5c  7.3.058
e2cf5697e8708390e106553de68ebb2b  7.3.059
16da4369ed89f0305cf2c3ed1bf338fc  7.3.060
cbed85cdfe0ad4a1b7b43efc64b1531c  7.3.061
77f08258dbf30e12914475802eeb9b3d  7.3.062
97c878554fec3d4f9caf934c0a0c227d  7.3.063
5f74fee465073a3eb48565300636d9db  7.3.064
a20ea56117d918b43f5109c9c06787ed  7.3.065
7c51cfbd55673906035df7b274b247c4  7.3.066
45625adbc8757b46ba9393dc136cc2e1  7.3.067
49b340dc261ed455c97d955517264a89  7.3.068
b423664733d7fd9d7de052dad8154643  7.3.069
b9ef636a41df5500f8437d38ab3177e2  7.3.070
1afcb15f38d1e4926918dbbe52356382  7.3.071
132f122c3b8ac49c1ad56f54c8994e3a  7.3.072
4a387415ce192506bcb7353cd8dda3c0  7.3.073
e2b2af94486554c6818693fbf1e3c34e  7.3.074
91acb2d1e70f6b7bff5e02460d4c3e62  7.3.075
2627b860bed5c08cead6e48986577fed  7.3.076
2a8c6197b193a16cb273606d8afcb6b5  7.3.077
660b3e99b1433a4e992e087e66bc1567  7.3.078
f69b91c3c55ef81df257178e0af1ca73  7.3.079
bbe3b3aa56bde525cd4028e807014b33  7.3.080
d4ce2f5eab7a74f8a51a352b05fde53f  7.3.081
75b69fb091a12c588992dd282841bde0  7.3.082
d6bc3caf366cc6735e35bb624701c52b  7.3.083
c1056e5eac01e94b841ee0f6698bd996  7.3.084
008cab55300e4aca60b10c5da48fa64b  7.3.085
d3ce3330380068fc0bb71e1e46715cf8  7.3.086
76ad849ed21f0f7ea55b5e45bf0ebb8e  7.3.087
5fe24e8201c4a6bfb04cc1eba830c7d1  7.3.088
e11e017a6ec88695ed4e68823c8519c8  7.3.089
85b27ad24ccf7a0a35659104ad5d50a0  7.3.090
30c533bfa3ce25d6d4ae69537ac6dc5c  7.3.091
9583f16a6bc74a69848278648692dd0b  7.3.092
dc1df531af4c8b457291ec3fe55df57d  7.3.093
4f2fa0bc9ddb599ad5f202474d1baaa9  7.3.094
527d8531d7d347784506508114eb436c  7.3.095
07cc669cf0c531c4b9f6410350baad64  7.3.096
ef918a856c94f9e1ac3732e967e99421  7.3.097
f5d870f443d75a9849477e937774681b  7.3.098
60fde4bc61ce362397d430b79856355b  7.3.099
eb3795dd02ef74e825f0a41b3ae4d6d5  7.3.100
44b023e4248395d2ccaaac9fda15407b  7.3.101
f1a8bcdb44fee91a060b5ef4ea8721dc  7.3.102
fca2fd799b4b76010b2df17e6b0e0c14  7.3.103
bf17912c76b1bc930af41836899483ae  7.3.104
2624889029aa8d780eea22c249d53691  7.3.105
8c94d914a359a1aa81b41efd00f58486  7.3.106
f91ca9cbbc54d8b9fca3c1884ddcce7a  7.3.107
5963094fc8a07e5730f7557a9d8d1cf4  7.3.108
bd660ce14300a3110ea7638c1e11eabd  7.3.109
ee0dc9b0b38308aa235f0b2b3e5dcea5  7.3.110
c91b1fb95f25fa9e0915b9e8cf613a49  7.3.111
67f989ce99ce53c7ab6df5478ca3a90c  7.3.112
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
b1c84972297e04dead1c06c7976ebd69  7.3.155
05a5584d72fa02708e12de57c1dd230d  7.3.156
bcbe4f926d7c4ce7c33f2ee163f8e481  7.3.157
5457a5d2d8e192662dafb4441d728b1a  7.3.158
8a1b1e2b134e1ffe8058a1007b3f0244  7.3.159
f8ad1c839a70db0fd67d9a91f2c5adfe  7.3.160
b8e6b94818cdd5d824bb5bdd71845dcf  7.3.161
640e4dab93c97e3fc591fa139f3626a0  7.3.162
b718f9c84f0ef31746837aeb76584b9d  7.3.163
3658977a1d6601e084001f4ca14990c2  7.3.164
2a351662b4eb7546a13a697ce6c99e2c  7.3.165
49be67f5a924f41efd02092d5a363ea2  7.3.166
763d467cb7f52e65fa04abd47391c46f  7.3.167
b03500932a593d8f8b503b7f4e597d27  7.3.168
2bdead87e63f14c1ad94baa4ab83ea31  7.3.169
55be8ac756a32da430a27684f9b8e1a8  7.3.170
36cc61d0b91ef0c3a580e244e4062b1c  7.3.171
38e90f8e7c56ea752ddeef1310854679  7.3.172
9265e7ca265d58278475cdb4c981b8dd  7.3.173
3e594ed292b1f2f19a5c9f4906c1479a  7.3.174
acb7321db8f740b6671765185603a718  7.3.175
6712e5eebfc7132b4d23044854c29cde  7.3.176
687088eda45ccf1fdd83e0ce18cdbeb9  7.3.177
44e37b259178bbea8de1aad8744b639c  7.3.178
ef97eecd1643ae1375c2141b42ff2a8f  7.3.179
85efa44de886e0e84914b13f7e356cd3  7.3.180
a41871ead65ba67d0e91f46e4ed31d74  7.3.181
a496deb8e705a15931566cc54de95b0e  7.3.182
a5a93687afc2acb93caed156c5990507  7.3.183
79db5edf359097848c50baa8e9f1de66  7.3.184
5a466b6c01d84c6f3b58b409ec77147f  7.3.185
2073073b84c308648bcc222a6e0e396b  7.3.186
0aebb3a0fcf78937c8f4930de20fdb09  7.3.187
665e541c24f5571bb07354a4a6441a28  7.3.188
540131415452ba4cfa01332ab60571e4  7.3.189
55d0ac5b715fabce51a05bf8380f6c01  7.3.190
895a121a97504929ebd5a7a8eb67a2a3  7.3.191
3b957b9de63a93a30e4c1ee7e9def7c9  7.3.192
b37da657ae0b51f8181eb8a31d6cc4e8  7.3.193
c911d5f14e34c8d0c1d3abea73bc830d  7.3.194
dc09888cdc86f980789cd22889df0bcd  7.3.195
fb396c9c2e57daf55fdba63635208985  7.3.196
448eca99d96f5f5c4ddbe05e66ebf812  7.3.197
d977fa831208ee16503b87a3a29673fe  7.3.198
39028c76f0b15f9d014b050fb222d24a  7.3.199
2dd2f0cd5b9af8f127fa02b3d838dd2f  7.3.200
c1cd1bdaa61c6ab76a39dc59926781ef  7.3.201
7bbc900208a99ba80a3e662827dba251  7.3.202
ce69cdd4cff0f9a1ae208bb6a3c490d2  7.3.203
07443373d2221a375988d58e25935599  7.3.204
857f19149697b27088447bbac1dac8a2  7.3.205
f6c7f47221c0459c7742a82163b875ec  7.3.206"