From 1511fc7e7f83380427754fcb4e8c637509d7e1b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Tue, 21 May 2019 11:48:21 +0200 Subject: [PATCH] New package: mypaint-brushes1-1.3.0 closes #11839 --- .../mypaint-brushes1/patches/autogen.patch | 12 ++++++++++ srcpkgs/mypaint-brushes1/template | 22 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/mypaint-brushes1/patches/autogen.patch create mode 100644 srcpkgs/mypaint-brushes1/template 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 +}