From f891e062c6971976040ccd7e328912e082df3d76 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 3 Nov 2020 22:32:12 +0100 Subject: [PATCH] xlbiff: update to 4.3. --- srcpkgs/xlbiff/patches/intl.patch | 20 -------------------- srcpkgs/xlbiff/template | 26 ++++++++++++-------------- 2 files changed, 12 insertions(+), 34 deletions(-) delete mode 100644 srcpkgs/xlbiff/patches/intl.patch diff --git a/srcpkgs/xlbiff/patches/intl.patch b/srcpkgs/xlbiff/patches/intl.patch deleted file mode 100644 index 398a45251b7..00000000000 --- a/srcpkgs/xlbiff/patches/intl.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git xlbiff.c xlbiff.c -index 23669f3..001e36b 100644 ---- xlbiff.c -+++ xlbiff.c -@@ -235,6 +235,7 @@ main( int argc, char *argv[] ) - { - progname = argv[0]; - -+ XtSetLanguageProc (NULL, NULL, NULL); - topLevel = XtVaAppInitialize(&app_context, - "XLbiff", - optionDescList, XtNumber(optionDescList), -@@ -317,6 +318,7 @@ main( int argc, char *argv[] ) - textBox = XtVaCreateManagedWidget("text", - commandWidgetClass, - topLevel, -+ "international", True, - NULL); - - XtAddCallback(textBox, XtNcallback, Popdown, textBox); diff --git a/srcpkgs/xlbiff/template b/srcpkgs/xlbiff/template index aeb4c34031b..0afde312807 100644 --- a/srcpkgs/xlbiff/template +++ b/srcpkgs/xlbiff/template @@ -1,24 +1,22 @@ # Template file for 'xlbiff' pkgname=xlbiff -version=4.1 -revision=6 +version=4.3 +revision=1 +build_style=gnu-configure +configure_args="--with-xmhformdir=/etc/nmh" +hostmakedepends="automake" makedepends="libX11-devel libXaw-devel" short_desc="X Literate Biff, a mail notifier" maintainer="Leah Neukirchen " -license="Public Domain" +license="MIT" homepage="http://www.edsantiago.com/xlbiff/" -distfiles="http://www.edsantiago.com/xlbiff/${pkgname}-${version}.tar.gz" -checksum=ca758c186d8fbe3505b86ba7aea21c6e20733a5b37e6ff5c308f09e8425e4697 +distfiles="https://github.com/edsantiago/xlbiff/archive/${version}.tar.gz" +checksum=fba35786d8d882c15fc113a1e21e4ca9e23c469f8431adb9e826cfc7d3d78a96 -do_build() { - make -f Makefile.std MHLIBDIR=/etc/nmh CC="$CC" DEBUG="$CFLAGS $LDFLAGS" - sed -n 2,30p xlbiff.c >LICENSE +pre_configure() { + autoreconf -fi } -do_install() { - vbin xlbiff - vman xlbiff.man xlbiff.1 - vinstall xlbiff.form 644 etc/nmh - vinstall XLbiff.ad 644 usr/share/X11/app-defaults - vlicense LICENSE +post_install() { + vlicense COPYING }