blob: 8a699339dee8d903839c8c531da80c16c799633e (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=geany
pkgver=1.23.1
pkgrel=0
pkgdesc="A fast and lightweight IDE"
url="http://www.geany.org"
arch="all"
license="GPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
makedepends="gtk+-dev intltool perl-xml-parser vte-dev"
depends=
depends_dev="gtk+-dev"
install=
replaces="geany-dev"
source="http://download.$pkgname.org/$pkgname-$pkgver.tar.gz
http://download.geany.org/contrib/tags/dbus-glib-0.76.c.tags
http://download.geany.org/contrib/tags/drupal.php.tags
http://download.geany.org/contrib/tags/ethos-1.0.c.tags
http://download.geany.org/contrib/tags/geany-api-0.19.c.tags
http://download.geany.org/contrib/tags/gladeui-1.0.c.tags
http://download.geany.org/contrib/tags/gnt.c.tags
http://download.geany.org/contrib/tags/gtk220.c.tags
http://download.geany.org/contrib/tags/gtkscintilla-2.0.c.tags
http://download.geany.org/contrib/tags/gtksourceview-3.0.c.tags
http://download.geany.org/contrib/tags/libdevhelp-2.0.c.tags
http://download.geany.org/contrib/tags/libgdl-3.0.c.tags
http://download.geany.org/contrib/tags/libxml-2.0.c.tags
http://download.geany.org/contrib/tags/sqlite3.c.tags
http://download.geany.org/contrib/tags/standard.css.tags
http://download.geany.org/contrib/tags/std.glsl.tags
http://download.geany.org/contrib/tags/std.latex.tags
http://download.geany.org/contrib/tags/std.vala.tags
http://download.geany.org/contrib/tags/v4l2.c.tags
http://download.geany.org/contrib/tags/webkit-1.0.c.tags
http://download.geany.org/contrib/tags/wordpress.php.tags
http://download.geany.org/contrib/tags/xfce46.c.tags
http://advamacs.com/pub/tcl.tcl.tags
"
_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
# set default terminal to Terminal
sed -e 's/xterm/Terminal/g' \
-i src/keyfile.c
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
sed -i 's|MimeType=text/plain;|MimeType=|' geany.desktop || return 1
sed -i 's|Sh=|Sh=APKBUILD;|' data/filetype_extensions.conf || return 1
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
# install the tags
local _tags=
for i in $source; do
case $i in
*.tags) _tags="$_tags $srcdir/${i##*/}";;
esac
done
mkdir -p "$pkgdir"/usr/share/$pkgname/tags
install -p $_tags "$pkgdir"/usr/share/$pkgname/tags/
install -p $_tags "$pkgdir"/usr/share/$pkgname/tags
}
dev() {
default_dev
mv "$subpkgdir"/usr/share/geany/*.c "$pkgdir"/usr/share/geany/ \
|| return 1
mv "$subpkgdir"/usr/share/geany/templates/files/*.c \
"$pkgdir"/usr/share/geany/templates/files/ \
|| return 1
rmdir "$subpkgdir"/usr/share/geany/templates/files \
"$subpkgdir"/usr/share/geany/templates \
"$subpkgdir"/usr/share/geany \
"$subpkgdir"/usr/share
}
md5sums="4ddfc1d1ed3b915eeb5797077ac12383 geany-1.23.1.tar.gz
a3f52be1523faacbd8496409051ed598 dbus-glib-0.76.c.tags
33bd4e563c52e1286324b81601a77995 drupal.php.tags
95221e92a942928569f23ef03c7f5dc8 ethos-1.0.c.tags
9a69cab6ea545b42cf47c5d4eb2003f2 geany-api-0.19.c.tags
037e3fc18636f435219e7f1f444c21c6 gladeui-1.0.c.tags
6e7def475cffccc1bf79da98518309ae gnt.c.tags
0da3e49a2f4288e8d0a55e5ac1b57a30 gtk220.c.tags
5daa5d0465a5a6d58093b59e69fce758 gtkscintilla-2.0.c.tags
e934ead8f360a0908429a653b1bde54b gtksourceview-3.0.c.tags
a5d3d36719bdb5d51ebd81130ea84992 libdevhelp-2.0.c.tags
adc3b47ffea5badb846507fff1d8a961 libgdl-3.0.c.tags
94f765658c159b7c196b96f26aaca11d libxml-2.0.c.tags
6d3b51dd8e99a82c8c055804319f5c97 sqlite3.c.tags
676ae1e2f01b1baf716e11700a05d94e standard.css.tags
5f8f1dec5d3afa0105c7d760be0932f3 std.glsl.tags
d45fae42c5733e081a745fcbb31d5f23 std.latex.tags
764e506272214ac75d55a224afca1e01 std.vala.tags
faa05eceb4d806e0c9f7476e4644a65b v4l2.c.tags
d046ab5c4e7ab2a6ba8961285edc4b2d webkit-1.0.c.tags
0e51399cc03d094d15b389a2f89dea51 wordpress.php.tags
8f873570cc244b9185ae26e560887490 xfce46.c.tags
4821553235a2b6752356229ba64631b6 tcl.tcl.tags"
sha256sums="64930d6a85a7d982ce5d065433f769330fa02a5e37c4305f17805e1c2329c705 geany-1.23.1.tar.gz
83d4936b4ec913292390bdf62ad432bd01ff969ca1ec9f08f98c7d03925c8c25 dbus-glib-0.76.c.tags
d4603ba815ede0ca93fbff8e195c8dcab1724c553081be6d5965572d99ee8912 drupal.php.tags
7cdb704a199f413e96850d621721b196a49aebb6d1a3bd849152d590de0e3153 ethos-1.0.c.tags
49d69b35f91e3d28ed9e7e4654fd1d956ad574c304d788869d03c70b2393d644 geany-api-0.19.c.tags
d6ce1a168c1625f3818315153acb81323af4be9b05fbd4d945ca0bac27aee36e gladeui-1.0.c.tags
fe69af30826831b12fe1f7dcf68eff524def9de4bdb2cba3af8537548ffb1394 gnt.c.tags
a1aeb5a129c2a86e2ccb9bc1dc5cda04b0173affdac82bd1b4b8efdf76bae68a gtk220.c.tags
3bffa423e1d4ffc90717ed36f79dea57132063a875e6ec461f3ff392f4ea9daa gtkscintilla-2.0.c.tags
557e4337bd2f7e104cdcacd52bb2259aed6f06e581c2cb122d8adb3afa0cbfba gtksourceview-3.0.c.tags
485737f38e869637a79de310fa65bcd6aa30940ea8862b88640029ba65b6c828 libdevhelp-2.0.c.tags
322e33674130c574d7e7cb29cab401c57cc6aa9163a4bd8cd02a7c521d291b03 libgdl-3.0.c.tags
d1799ab0b9f4194549d6ef1456d90607f145ccb41c91e9e13360a7cfd16375bf libxml-2.0.c.tags
5a9f0c7e13fcd4022339a593fe0b6d4b233cd033faccf9676298a70d781f13a5 sqlite3.c.tags
7fda2df27fd515904aac9e2f0854178131a3ff6b72a4ab51a9ca7b9d19ce18a9 standard.css.tags
0ca50e5515fbe0c21895918297f386477a3221ca3f398edce9f8cc61e744f1d9 std.glsl.tags
5c4aab3854f7bb87f1c429a6fca8c771865bbc38bfa4beb9b7bcac1c977c6c32 std.latex.tags
e5a4a8f20311e66d52fb0bc0a357fc4fe7720278f3b9d66e894d570c51cd1e00 std.vala.tags
1979eec23bb793e21e247fcfe66c921c0fa9ad5061e2517743e7041e28e8b982 v4l2.c.tags
977c83a3c58bafc882af373cadbe96e049561d9c0518f1100036d3b9da1ba765 webkit-1.0.c.tags
cd4bbd047c016ab4a30165bb08dde1e3a221f6027810c34280a16227ba9b39ab wordpress.php.tags
f00ce9be4ed50daa73484c28566cc321ccc11f671bcd1200c44a46edd58011ce xfce46.c.tags
0b86e730022702ff028d017e639361f609e4a93e7868f21dd7ff9420a17e3016 tcl.tcl.tags"
sha512sums="176abcb70b76e980747d01cdd6b689e1a10be54261ae3df972c164d9e43f7fe8cb1b58a5253b24dd525872cf1f864a848b4df3ac0ea3095a287b5fe4ed3f7eed geany-1.23.1.tar.gz
89551143b5557a632b325cceef9c0fa56ea0f9a28d1bd7bed4dba99af5005812702bbf0519f6ce97ce77c362fa454caac8d18c168ffb4af5f91ed6a4df2995e9 dbus-glib-0.76.c.tags
9d06d993ddd3fbc6445a215e327e4d0bfb498bcf0431fff69b66b4fc2163717a313c5a876d0dcd922859f97fb8f5beb20f034dafb99b321be37282f226c76057 drupal.php.tags
1db55822822fe5f9d85ff619c6e2fb9703ed7646eefb8925f8e2f632fb9f6aecaddf1580496e0d9daa9d3d7e466febc80d73ae3955075d1dd92fc238571d5fd1 ethos-1.0.c.tags
3201f66fc6bf75d82b7c2ed0ee694d74a047771e01e81f4fc505df3fcce7389eed750aae1ad09b55b5ef0227d9a92161d32c40117917905059aa3a0fe7c14f3b geany-api-0.19.c.tags
4b9b92fd01ea09fe093a9aa08cb7fc82fc793bc3c61551f383c713be96a85ad599f188c234f1796b85975898570cebf938c997ad8190c89d4c0f2c26a7468cf4 gladeui-1.0.c.tags
a7abfa99736ef6eb4a2bbee68e370b9913624bf432165cafc8b052b4d52b2e7b2cccebcaec8fefba773b4aaf8fa441aa1597ea03aadabc64bad7be0cb0681e35 gnt.c.tags
bb48aec2d4f6ad1d0a853760b60b5a3e26502ff42e74e182a03dd04f0d7b6b47290466f7ac497eb51f2bce5fd6f6c21ee9ac426fbb333171244a52833cee82d7 gtk220.c.tags
0b45a883663ade6c97ba52cfbebea57c0ff54d3195b2bc00209bb62e08566a16b3306399a062020a06b47c20fc210db60ca52cbe2798c4846243dd7dc52c678e gtkscintilla-2.0.c.tags
f7f6256969b4630e6fe28052b278e2858df581bbd39a24892232c0f1aac8d5da2c009bc48a3f6b61d82625f9858e43a0cb0dc9ff7562305fb0fb9637ae8690d6 gtksourceview-3.0.c.tags
81c84b0d4290bd1031fb56c176c98276094eb0e27ae6e55376445577c46991b65fa7fff0d106d8669b2aaea84d264017ec08b145dbe45d598885c5d8f8334f22 libdevhelp-2.0.c.tags
767970487967fe2ae80ae076813116d5b3a04de3427b0c447b7f889f9b04a37747f933b86685f4e8a0be94cbb21f0d841b528511451939dc710f1f34b3d1849e libgdl-3.0.c.tags
0cff6575b23aa5fc94efc0923c085f463c224cbb1b26f696e2be5ca1080a34be01be6a90f5ee2f7191c1bee660e2b3e50c50343cace8df8d0b2ebd3d205ad0d0 libxml-2.0.c.tags
afa5e2e0ffc0cb6aa1462e68fcd213b8c5447718f1ac5719677217a7d60ae2b9adc26662224872f133869fa34d3c18b136c9d909f38752b32b3ecd15616588cd sqlite3.c.tags
0c653aa84886cfd441aab37c11e8462b7540fa4b5f9d479ed09de063a23887b4b5b833a1b3296a4873931ee41b7679155cfd1a70ff535a497ebdef9e211546b0 standard.css.tags
616ede8e41dec4cb97e646c8b447a606c54de52369df11c26d94f5e508643f6eb45805030b48e432420a564effa1217e88fcbd34aa0a487d8c4823c6ddc79d40 std.glsl.tags
90e188d1a7e4da7fb6680870ba936c1ae9637a186f970c3a6e6690ed7f3555e5dca33b4b32c75d3da322e93dd911fd8b5f574201dd15f12ec58f5f163f434a09 std.latex.tags
8b2669f8ef6cfcf6e27bcb3de039e134702353754d62ef6ee7e73cd8cb8cd1d8bdbf9ab07b2fca59c7ff04e1066d8e6b0080fb9d8db573582b857ee471c8b837 std.vala.tags
2d8f30c29b589a892f86a629014ccac36a698eedfd3961d01da73adda1fcd43623451e340d74e8c85c5028d4e2d789c3268f52889bb22c671e06e780123269f5 v4l2.c.tags
9fcea2e6c652ffc351461974924eaee0c5a9d58763e5a37a82e7c20957a1d02c044abaee1834b738f733fb309c1de9f31bd15083b60809527040898e853ca1a1 webkit-1.0.c.tags
fe3f88e86a0f098a2f85df76ddd04978bb8f2bed87ea8cc7c3325ea904f5c625fb2b10757d0f8edaf9e5d483699f79f21648e444b10b7760ee72d0c244ce463f wordpress.php.tags
822ffacbd42c72c459ccd2b44ecfb580c5c65816beaec23638d74d61a8e832c1486b902c3950a892a49b2ce5232533490653ff8bab2194f1b412f16f64c66090 xfce46.c.tags
71012d3f6d11a7b5171c1debce928fe31776af64a4f7c36fc27946fed220b9918c0894932d54c8a2fb55611ca5a458b7f8d3ae05ee269d83e2e704f0baa6b674 tcl.tcl.tags"
|