updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wide / PKGBUILD
blobb9c4743d8e6b1146f6fe7548ef28396df973e6c1
1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
2 pkgname=wide
3 pkgver=0.99beta
4 pkgrel=1
5 pkgdesc="WxWidgets Inform 6 Development Environment"
6 arch=(i686 x86_64)
7 url="http://wide.berlios.de/"
8 license=('gpl')
9 depends=('glibc' 'wxgtk')
10 makedepends=('unzip')
11 #provides=()
12 #conflicts=()
13 #replaces=()
14 #backup=()
15 groups=(inform)
16 #options=()
17 #install=
18 source=(http://download.berlios.de/wide/${pkgname}_${pkgver}_sources.zip)
19 #noextract=()
20 md5sums=(25286f7f23fe5a3f6414bbe5baafc729)
23 build() {
24   cd $startdir/src/
25 #  ./configure --prefix=/usr
26         make || return 1
27 #       make DESTDIR=$startdir/pkg install || return 1
28         mkdir -p $startdir/pkg/usr/bin/
29         mkdir -p $startdir/pkg/usr/share/$pkgname/
30         cp $startdir/src/wide $startdir/pkg/usr/share/$pkgname/
31         cp $startdir/src/wide.ini $startdir/pkg/usr/share/$pkgname/
32         chmod 777 $startdir/pkg/usr/share/$pkgname/wide.ini
33         chmod 777 $startdir/pkg/usr/share/$pkgname/
34         cp $startdir/src/readme.txt $startdir/pkg/usr/share/$pkgname/
35         echo "cd /usr/share/wide/ && ./wide" > $startdir/pkg/usr/bin/wide.sh
36         chmod +x $startdir/pkg/usr/bin/wide.sh
37         echo -e "\n\n<!>  <!> \nBeware the /usr/share/wide will be read-write for everyone because of the way the software is using its configuration file\n\n"