void-packages/srcpkgs/notion/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

26 lines
773 B
Bash

# Template file for 'notion'
pkgname="notion"
_minversion="2014052800"
version="3_${_minversion}"
revision=1
short_desc="Tabbed, tiling window manager"
hostmakedepends="pkg-config groff lua"
makedepends="lua-devel libXext-devel libSM-devel libXinerama-devel libXrandr-devel"
maintainer="Julian Wiesener <jw@vtoc.de>"
license="notion"
homepage="http://notion.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-3-${_minversion}-src.tar.bz2"
checksum="3619c90fb1f4b49cbddbfa8b94aa1d1e7e5a7e933764aea3ab3b25c6ef3c7027"
wrksrc=${pkgname}-3-${_minversion}
do_build() {
make CC=$CC PREFIX=/usr ETCDIR=/etc/notion
}
do_install() {
make DESTDIR=${DESTDIR} PREFIX=/usr ETCDIR=/etc/notion install
vman man/notion.1
vman man/notionflux.1
vlicense LICENSE
}