From 69fb895b0b1402c2a563f715d01fdde57469daa3 Mon Sep 17 00:00:00 2001 From: KawaiiAmber Date: Sun, 13 Dec 2020 15:42:48 -0700 Subject: [PATCH 1/2] New package: ffcast-2.5.0 --- srcpkgs/ffcast/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/ffcast/template diff --git a/srcpkgs/ffcast/template b/srcpkgs/ffcast/template new file mode 100644 index 00000000000..1ca463151fd --- /dev/null +++ b/srcpkgs/ffcast/template @@ -0,0 +1,23 @@ +# Template file for 'ffcast' +pkgname=ffcast +version=2.5.0 +revision=1 +makedepends="autoconf automake" +depends="bash ffmpeg ImageMagick xdpyinfo xprop xwininfo" +short_desc="Run command on rectangular screen regions" +maintainer="KawaiiAmber " +license="GPL-3.0-or-later" +homepage="https://github.com/lolilolicon/FFcast" +distfiles="https://github.com/lolilolicon/FFcast/archive/${version}.tar.gz" +checksum=09ebf44f76a1813eb8db78df0256f7a1cd259562cf87908b6d683f7fd1ec6b30 + +do_build() { + bootstrap + configure --prefix /usr --libexecdir /usr/lib + make +} + +do_install() { + make install + vinstall README.asciidoc 644 usr/share/doc/$pkgname +} From bda5a6e0ba1d1f624936f899b348f0628f16ada1 Mon Sep 17 00:00:00 2001 From: KawaiiAmber Date: Mon, 14 Dec 2020 11:17:19 -0700 Subject: [PATCH 2/2] New package: ffcast-2.5.0 --- srcpkgs/ffcast/template | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/srcpkgs/ffcast/template b/srcpkgs/ffcast/template index 1ca463151fd..b391a1dfb12 100644 --- a/srcpkgs/ffcast/template +++ b/srcpkgs/ffcast/template @@ -2,7 +2,9 @@ pkgname=ffcast version=2.5.0 revision=1 -makedepends="autoconf automake" +wrksrc=FFcast-${version} +build_style=gnu-configure +hostmakedepends="autoconf automake" depends="bash ffmpeg ImageMagick xdpyinfo xprop xwininfo" short_desc="Run command on rectangular screen regions" maintainer="KawaiiAmber " @@ -11,13 +13,18 @@ homepage="https://github.com/lolilolicon/FFcast" distfiles="https://github.com/lolilolicon/FFcast/archive/${version}.tar.gz" checksum=09ebf44f76a1813eb8db78df0256f7a1cd259562cf87908b6d683f7fd1ec6b30 +pre_configure() { + ./bootstrap +} + +do_configure() { + ./configure --prefix /usr --libexecdir /usr/lib +} + do_build() { - bootstrap - configure --prefix /usr --libexecdir /usr/lib make } do_install() { make install - vinstall README.asciidoc 644 usr/share/doc/$pkgname }