1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
7 pkgdesc="A library and sample program for the wxWidgets's wxStyledTextCtrl wrapper around the Scintilla text editor widget."
9 url="http://wxcode.sourceforge.net/showcomp.php?name=wxStEdit"
10 license=('custom:wxWindows')
12 source=("http://downloads.sourceforge.net/project/wxcode/Components/$_pkg/$pkgname-$pkgver.tar.gz")
13 md5sums=('8ba50bdd40b1a0b43643de8f40e0ea0d')
16 # creating needed setup.h header
17 cd "$srcdir/$pkgname/include/wx/stedit"
18 cp setup0.h setup.h && cd ../../..
20 ./configure --prefix=/usr
27 make DESTDIR="$pkgdir/" install
29 # install sample application
30 install -Dm755 "samples/stedit/$pkgname" \
31 "$pkgdir/usr/bin/$pkgname"
33 # install custom wxWindows license file
34 mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
35 ln -s /usr/share/licenses/wxgtk/LICENSE \
36 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
39 # vim:set ts=2 sw=2 et: