Patches for aports can be sent to this list

1

[PATCH 2/3] testing/yadm: new abuild

Cosmo Borsky
Details
Message ID
<20190812143823.9724-2-me@cosmoborsky.com>
DKIM signature
missing
Download raw message
Patch: +30 -0
https://yadm.io
Yet Another Dotfiles Manager
---
 testing/yadm/APKBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 testing/yadm/APKBUILD

diff --git a/testing/yadm/APKBUILD b/testing/yadm/APKBUILD
new file mode 100644
index 0000000000..0aadd576f5
--- /dev/null
+++ b/testing/yadm/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Cosmo Borsky <me@cosmoborsky.com>
+# Maintainer: Cosmo Borsky <me@cosmoborsky.com>
+pkgname="yadm"
+pkgver="1.12.0"
+pkgrel=0
+pkgdesc="Yet Another Dotfiles Manager"
+url="https://yadm.io"
+giturl="https://github.com/thelocehiliosan/yadm"
+arch="noarch"
+license="GPL-3.0"
+depends="git"
+checkdepends="bats shellcheck"
+subpackages="$pkgname-doc"
+options="!check"  # disabling checking as it has been deprecated in lieu of testing rewrite
+source="yadm-$pkgver.tar.gz::https://github.com/thelocehiliosan/yadm/archive/$pkgver.tar.gz"
+builddir="$srcdir/yadm-$pkgver"
+
+check() {
+	make test
+}
+
+package() {
+	cd "${builddir}"
+	install -D -m 755 yadm "${pkgdir}"/usr/bin/yadm
+	install -D -m 644 yadm.1 "${pkgdir}"/usr/share/man/man1/yadm.1
+	install -D -m 644 completion/yadm.bash_completion "${pkgdir}"/usr/share/bash-completion/completions/yadm
+	install -D -m 644 completion/yadm.zsh_completion "${pkgdir}"/usr/share/zsh/site-functions/_yadm
+}
+
+sha512sums="402a67770154ce3ae7ab947ff4d4e26ca5040d343110fb749195ca5c3f4ee435aba1d8cdf02d4ecf4a81d3f331c1b891bed4fb3fcfcc893867e0fce45b9c8cd8  yadm-1.12.0.tar.gz"
-- 
2.22.0

[PATCH 3/3] testing/chafa: new abuild

Cosmo Borsky
Details
Message ID
<20190812143823.9724-3-me@cosmoborsky.com>
In-Reply-To
<20190812143823.9724-2-me@cosmoborsky.com> (view parent)
DKIM signature
missing
Download raw message
Patch: +28 -0
https://hpjansson.org/chafa
Image-to-text converter supporting a wide range of symbols and palettes, transparency, animations, etc.
---
 testing/chafa/APKBUILD | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 testing/chafa/APKBUILD

diff --git a/testing/chafa/APKBUILD b/testing/chafa/APKBUILD
new file mode 100644
index 0000000000..ff5766a266
--- /dev/null
+++ b/testing/chafa/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Cosmo Borsky <me@cosmoborsky.com>
+# Maintainer: Cosmo Borsky <me@cosmoborsky.com>
+pkgname="chafa"
+pkgver="1.2.0"
+pkgrel=0
+pkgdesc="Image-to-text converter supporting a wide range of symbols and palettes, transparency, animations, etc."
+url="https://hpjansson.org/chafa"
+giturl="https://github.com/hpjansson/chafa"
+arch="x86_64"  # based on Arch Linux PKGBUILD, not tested on other arches
+license="LGPL-3.0"
+depends="imagemagick-libs"
+depends_doc="gtk-doc"
+makedepends="make autoconf automake libtool imagemagick-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+options="!check"  # no tests available
+source="chafa-$pkgver.tar.xz::https://github.com/hpjansson/chafa/releases/download/$pkgver/chafa-$pkgver.tar.xz"
+builddir="$srcdir/chafa-$pkgver"
+
+build() {
+	./configure --prefix=/usr --enable-man
+	make
+}
+
+package() {
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="04ea63446d3e518aaf8a9359a72bed243573a655c42f76e8de7017822928bcd131976b472a008d5fb7c29235235dfafb9eb20c4066fbb73f4126e99bce16ec73  chafa-1.2.0.tar.xz"
-- 
2.22.0