diff options
Diffstat (limited to 'testing/apk-readme')
-rw-r--r-- | testing/apk-readme/APKBUILD | 36 | ||||
-rw-r--r-- | testing/apk-readme/apk-readme.trigger | 7 |
2 files changed, 43 insertions, 0 deletions
diff --git a/testing/apk-readme/APKBUILD b/testing/apk-readme/APKBUILD new file mode 100644 index 0000000000..1d5c5a0b84 --- /dev/null +++ b/testing/apk-readme/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: +pkgname=apk-readme +pkgver=0.1 +pkgrel=0 +pkgdesc="Display README.alpine after packages are installed" +url="http://alpinelinux.org" +arch="noarch" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +triggers="apk-readme.trigger=/usr/share/*/README.alpine" +subpackages="" +source="" + +_builddir= +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + return 0 +} + +package() { + mkdir -p "$pkgdir" +} + diff --git a/testing/apk-readme/apk-readme.trigger b/testing/apk-readme/apk-readme.trigger new file mode 100644 index 0000000000..1cf4f0b58d --- /dev/null +++ b/testing/apk-readme/apk-readme.trigger @@ -0,0 +1,7 @@ +#!/bin/sh + +for i; do + echo "### $i:" + cat $i +done + |