diff --git a/srcpkgs/mypaint-brushes1/patches/autogen.patch b/srcpkgs/mypaint-brushes1/patches/autogen.patch new file mode 100644 index 00000000000..8cd7b132eb9 --- /dev/null +++ b/srcpkgs/mypaint-brushes1/patches/autogen.patch @@ -0,0 +1,12 @@ +--- autogen.sh.orig ++++ 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-brushes1/template b/srcpkgs/mypaint-brushes1/template new file mode 100644 index 00000000000..8622bb46bb8 --- /dev/null +++ b/srcpkgs/mypaint-brushes1/template @@ -0,0 +1,22 @@ +# Template file for 'mypaint-brushes1' +pkgname=mypaint-brushes1 +version=1.3.0 +revision=1 +archs=noarch +wrksrc="mypaint-brushes-${version}" +build_style=gnu-configure +hostmakedepends="automake" +short_desc="Brushes used by MyPaint and other software using libmypaint" +maintainer="Kartik Singh " +license="CC0-1.0" +homepage="https://github.com/mypaint/mypaint-brushes" +distfiles="https://github.com/mypaint/mypaint-brushes/archive/v${version}.tar.gz" +checksum=704bb6420e65085acfd7a61d6050e96b0395c5eab078433f11406c355f16b214 + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense COPYING +}