From 021ade318254672f37ab6be61cf0f1a5aaf552ca Mon Sep 17 00:00:00 2001 From: Kartik Singh Date: Thu, 3 May 2018 03:42:33 +0530 Subject: [PATCH] New package: mypaint-brushes-1.3.0 --- srcpkgs/mypaint-brushes/patches/autogen.patch | 11 ++++++++++ srcpkgs/mypaint-brushes/template | 21 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/mypaint-brushes/patches/autogen.patch create mode 100644 srcpkgs/mypaint-brushes/template diff --git a/srcpkgs/mypaint-brushes/patches/autogen.patch b/srcpkgs/mypaint-brushes/patches/autogen.patch new file mode 100644 index 00000000000..2a9b0430c31 --- /dev/null +++ b/srcpkgs/mypaint-brushes/patches/autogen.patch @@ -0,0 +1,11 @@ ++++ autogen.sh +@@ -90,6 +90,9 @@ + echo -n "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... " + if ($AUTOMAKE --version) < /dev/null > /dev/null 2>&1; then + AUTOMAKE=$AUTOMAKE ++elif (automake-1.16 --version) < /dev/null > /dev/null 2>&1; then ++ AUTOMAKE=automake-1.16 ++ ACLOCAL=aclocal-1.16 + elif (automake-1.15 --version) < /dev/null > /dev/null 2>&1; then + AUTOMAKE=automake-1.15 + ACLOCAL=aclocal-1.15 diff --git a/srcpkgs/mypaint-brushes/template b/srcpkgs/mypaint-brushes/template new file mode 100644 index 00000000000..dc15c2d06d4 --- /dev/null +++ b/srcpkgs/mypaint-brushes/template @@ -0,0 +1,21 @@ +# Template file for 'mypaint-brushes' +pkgname=mypaint-brushes +version=1.3.0 +revision=1 +build_style=gnu-configure +hostmakedepends="automake" +makedepends="libmypaint-devel" +short_desc="Brushes used by MyPaint and other software using libmypaint" +maintainer="Kartik Singh " +license="CC0-1.0, GPL-2.0-or-later, GPL-3.0-on-later" +homepage="https://github.com/Jehan/mypaint-brushes" +distfiles="https://github.com/Jehan/mypaint-brushes/archive/v${version}.tar.gz" +checksum=704bb6420e65085acfd7a61d6050e96b0395c5eab078433f11406c355f16b214 + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense COPYING +}