void-packages/srcpkgs/afterstep/template

37 lines
972 B
Bash

# Template file for 'afterstep'
pkgname=afterstep
version=2.2.12
revision=2
wrksrc="${pkgname}-devel-${version}"
build_style=gnu-configure
configure_args="ac_cv_header_elf_h=no"
hostmakedepends="pkg-config automake libtool"
makedepends="fltk-devel gtk+-devel"
short_desc="Window Manager based on the look and feel of the NeXTStep interface"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.afterstep.org/"
distfiles="https://github.com/sashavasko/${pkgname}-devel/archive/${version}.tar.gz"
checksum=7a82d06a9ce432ef3b0856ff39f6da416aa8cbc249dbb2ff3c1cdcb02e2ca46d
pre_configure() {
autoreconf -fi libAfterBase
autoreconf -fi libAfterImage
}
post_install() {
vlicense COPYRIGHT
}
afterstep-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/bin/*-config"
vmove "usr/bin/*-libs"
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/share/man/man3
}
}