From 76c7f2ec0591dd0e039f762568721618f73769f1 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sat, 21 Jun 2014 20:32:46 +0200 Subject: [PATCH] New package: 9menu-1.8 --- srcpkgs/9menu/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/9menu/template diff --git a/srcpkgs/9menu/template b/srcpkgs/9menu/template new file mode 100644 index 00000000000..13f416240d4 --- /dev/null +++ b/srcpkgs/9menu/template @@ -0,0 +1,27 @@ +# Template file for '9menu' +pkgname=9menu +version=1.8 +revision=1 +makedepends="libX11-devel" +short_desc="lightweight menu for X11" +maintainer="Enno Boland " +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 +}