void-packages/srcpkgs/gnustep-gui/template

36 lines
1.0 KiB
Bash

# Template file for 'gnustep-gui'
pkgname=gnustep-gui
version=0.27.0
revision=2
build_style=gnu-configure
hostmakedepends="gnustep-make pkg-config"
makedepends="gnustep-base-devel libjpeg-turbo-devel tiff-devel"
depends="gnustep-gui-data"
short_desc="Graphical user interface class library for GNUstep"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-2.0-or-later, GPL-3.0-or-later"
homepage="http://www.gnustep.org/"
distfiles="http://ftp.gnustep.org/pub/gnustep/core/gnustep-gui-${version}.tar.gz"
checksum=7991e435944d389366069888eb65b1ef08c5ab39f12b27e804bb372b941bd3d4
nocross="objc doesn't get cross build at present within gcc"
gnustep-gui-data_package() {
short_desc+=" - assets"
archs=noarch
pkg_install() {
vmove usr/lib/GNUstep/Sounds
vmove usr/lib/GNUstep/Images
}
}
gnustep-gui-devel_package() {
short_desc+=" - developement files"
depends="${hostmakedepends} ${sourcepkg}>=${version}"
pkg_install() {
vmove usr/include
vmove usr/share/GNUstep/Makefiles
vmove "usr/lib/*.so"
}
}