void-packages/srcpkgs/gnustep-gui/template

37 lines
1.0 KiB
Bash

# Template file for 'gnustep-gui'
pkgname=gnustep-gui
version=0.28.0
revision=2
build_style=gnu-configure
hostmakedepends="gnustep-make pkg-config tar"
makedepends="gnustep-base-devel libjpeg-turbo-devel tiff-devel libpng-devel
giflib-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=1f6d2de60417e8a674280de84077f94f7394ae4edb3fae9e04129743d7449317
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"
}
}