updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / geany-cp1251 / PKGBUILD
blobed187b3dfc36362c9e92665bb0bb03dbe6675a23
2 pkgname=geany-cp1251
3 pkgver=0.19
4 pkgrel=3
5 pkgdesc="The plugin for Geany to Auto detect cp1251 codepage. (Turn on in Plugin Manager)"
6 arch=('i686' 'x86_64')
7 url="http://welinux.ru/post/1424"
8 license=('GPL')
9 depends=('geany')
10 source=(cp1251.c)
11 md5sums=('7d52ea5046853c157b7ec572c320495f')
13 build() {
14   cd ${srcdir}
16   cc -DGTK -O3 -fpic -shared cp1251.c -o cp1251.so -I/usr/include/geany -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/geany/tagmanager -I/usr/include/geany/scintilla -I/usr/include/gdk-pixbuf-2.0  
17   
18   mkdir -p ${pkgdir}/usr/lib/geany
19   cp cp1251.so ${pkgdir}/usr/lib/geany