28 lines
688 B
Plaintext
28 lines
688 B
Plaintext
|
# Template file for '9menu'
|
||
|
pkgname=9menu
|
||
|
version=1.8
|
||
|
revision=1
|
||
|
makedepends="libX11-devel"
|
||
|
short_desc="lightweight menu for X11"
|
||
|
maintainer="Enno Boland <eb@s01.de>"
|
||
|
license="MIT"
|
||
|
homepage="ftp://freefriends.org/arnold/Source"
|
||
|
distfiles="ftp://freefriends.org/arnold/Source/${pkgname}-${version}.shar.gz"
|
||
|
checksum=e84fa86b026073edac412194981a3e9cc4513cca4f9d9188c337fe416474dac1
|
||
|
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
|
||
|
}
|