aboutsummaryrefslogblamecommitdiffstats
path: root/unmaintained/wxformbuilder/APKBUILD
blob: cc486c477b406e808dc6c0d3d2feb3fba28aacdb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


                                                    
             









                                                         
                                                                                                                         

                    
                                 







                                                                        

                                                  



                       
                                           








                                                              

                                                                            
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wxformbuilder
pkgver=3.1.70
pkgrel=0
pkgdesc="RAD tool for wxWidgets GUI design"
url="http://sourceforge.net/apps/wordpress/wxformbuilder"
arch="all"
license="GPLv2"
depends=""
depends_dev=""
makedepends="$depends_dev wxgtk-dev"
install=""
subpackages=""
source="http://downloads.sourceforge.net/project/wxformbuilder/wxformbuilder/$pkgver/wxFormBuilder_v${pkgver}-src.tar.bz2
	libdl.patch"

_builddir="$srcdir"/wxformbuilder
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
	sed -i -e 's/\r//' create_build_files.sh \
		install/linux/wxfb_export.sh
}

build() {
	cd "$_builddir"
	./create_build_files.sh || return 1
	make CONFIG=Release || return 1
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir"/usr
	install/linux/wxfb_export.sh "$pkgdir"/usr || return 1
}

md5sums="1c2d53a344333bd2389f9f07a5321d5e  wxFormBuilder_v3.1.70-src.tar.bz2
304bb4f7dd668fd42abc7d9ae986610a  libdl.patch"