void-packages/srcpkgs/9menu/template

26 lines
647 B
Bash

# Template file for '9menu'
pkgname=9menu
version=1.9
revision=2
makedepends="libX11-devel"
short_desc="Lightweight menu for X11"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="ftp://freefriends.org/arnold/Source"
distfiles="ftp://freefriends.org/arnold/Source/${pkgname}-${version}.shar.gz"
checksum=ac8ea55191448b8bb85fb3814db3796f3b04a1fba2b690ea38879ace1cbfd559
create_wrksrc=yes
do_extract() {
zcat "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.shar.gz" | sh
}
do_build() {
${CC} ${CFLAGS} ${LDFLAGS} 9menu.c -lX11 -o 9menu
}
do_install() {
vbin 9menu
vman 9menu.1
vlicense README LICENSE
}