void-packages/srcpkgs/9menu/template
2015-06-26 12:23:50 +02:00

27 lines
698 B
Bash

# Template file for '9menu'
pkgname=9menu
version=1.9
revision=1
makedepends="libX11-devel"
short_desc="lightweight menu for X11"
maintainer="Enno Boland <gottox@voidlinux.eu>"
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} 9menu.c -lX11 -o 9menu
}
do_install() {
vmkdir usr/bin
vmkdir usr/share/man/man1
vinstall 9menu 755 usr/bin
vinstall 9menu.1 0644 /usr/share/man/man1
}