makedeb


wxformbuilder 3.10.1-3


Designer, GUI builder, and RAD tool For wxWidgets

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for wxformbuilder.

# Maintainer: Jefferson Gonzalez <jgmdev@gmail.com>
# Contributor: Blair Bonnett <blair.bonnett@gmail.com>
# Contributor: Eran Yahav <eran910@gmail.com>
# Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
# Contributor: Alexander Zhuk <zhuk.a.v@gmail.com>
# Contributor: Wiadufa Chen <wiadufachen@gmail.com>

pkgname=wxformbuilder
_gitname=wxFormBuilder
pkgver=3.10.1
pkgrel=3
pkgdesc="Designer, GUI builder, and RAD tool For wxWidgets"
arch=('amd64' 'arm64' 'armel' 'armhf' 
'i386' 'mipsel' 'mips64el' 'ppc64el' 's390x')
url="https://sourceforge.net/projects/wxformbuilder/"
license=('GPL')
provides=('wxformbuilder')
conflicts=('wxformbuilder' 'wxformbuilder-svn')
depends=('libgtk-3-0')
makedepends=('libgtk-3-dev' 'libboost-dev' 'git' 'cmake')
source=(
  "git+https://github.com/wxFormBuilder/wxFormBuilder.git"
  "ticpp.git::git+https://github.com/wxFormBuilder/ticpp.git"
)
md5sums=('SKIP' 'SKIP')

prepare() {
  cd "$srcdir/${_gitname}"
  git submodule update --init --recursive
}

build() {
  cd "$srcdir/${_gitname}"
  cmake -S . -B _build --install-prefix /usr -DCMAKE_BUILD_TYPE=Release
  cmake --build _build --config Release
}

package() {
  cd "$srcdir/${_gitname}"
  DESTDIR="${pkgdir}" cmake --install _build --config Release
}