void-packages/srcpkgs/9menu/template

28 lines
709 B
Bash
Raw Normal View History

2014-06-21 20:32:46 +02:00
# Template file for '9menu'
pkgname=9menu
2015-06-26 12:23:50 +02:00
version=1.9
2016-05-24 11:37:58 +02:00
revision=2
2014-06-21 20:32:46 +02:00
makedepends="libX11-devel"
short_desc="lightweight menu for X11"
2015-06-26 12:23:50 +02:00
maintainer="Enno Boland <gottox@voidlinux.eu>"
2014-06-21 20:32:46 +02:00
license="MIT"
homepage="ftp://freefriends.org/arnold/Source"
distfiles="ftp://freefriends.org/arnold/Source/${pkgname}-${version}.shar.gz"
2015-06-26 12:23:50 +02:00
checksum=ac8ea55191448b8bb85fb3814db3796f3b04a1fba2b690ea38879ace1cbfd559
2014-06-21 20:32:46 +02:00
create_wrksrc=yes
do_extract() {
zcat "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.shar.gz" | sh
}
do_build() {
2016-05-24 11:31:03 +02:00
${CC} ${CFLAGS} ${LDFLAGS} 9menu.c -lX11 -o 9menu
2014-06-21 20:32:46 +02:00
}
do_install() {
vmkdir usr/bin
vmkdir usr/share/man/man1
vinstall 9menu 755 usr/bin
vinstall 9menu.1 0644 /usr/share/man/man1
}