aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/wxformbuilder/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/wxformbuilder/APKBUILD')
-rw-r--r--unmaintained/wxformbuilder/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/wxformbuilder/APKBUILD b/unmaintained/wxformbuilder/APKBUILD
new file mode 100644
index 0000000000..cc486c477b
--- /dev/null
+++ b/unmaintained/wxformbuilder/APKBUILD
@@ -0,0 +1,44 @@
+# 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"