From 7bd13350ca61bd4eb8cc24624c0fe1f7b0df9371 Mon Sep 17 00:00:00 2001 From: beefcurtains Date: Tue, 9 Jun 2015 10:17:58 +0000 Subject: [PATCH] New package: xcruiser-0.30 --- srcpkgs/xcruiser/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/xcruiser/template diff --git a/srcpkgs/xcruiser/template b/srcpkgs/xcruiser/template new file mode 100644 index 0000000000..a1a554c5d8 --- /dev/null +++ b/srcpkgs/xcruiser/template @@ -0,0 +1,26 @@ +# Template file for 'xcruiser' +pkgname=xcruiser +version=0.30 +revision=1 +build_style=gnu-makefile +makedepends="libXaw-devel" +short_desc="Filesystem visualization utility" +maintainer="beefcurtains " +license="GPL-2" +homepage="http://${pkgname}.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz" +checksum=917b68dc06389bfcdde742f0798f61cdeaea2ae3c6567960c33f7634d4861ce5 +LDFLAGS="-lXaw -lXmu -lXt -lX11 -lm" + +pre_build() { + local sources + sources=(*.c) + echo "${pkgname}: ${sources[@]/%c/o}" >Makefile +} + +do_install() { + vbin ${pkgname} + vinstall XCruiser.ad 644 /usr/share/X11/app-defaults XCruiser + mv ${pkgname}.{man,1} + vman ${pkgname}.1 +}