aboutsummaryrefslogtreecommitdiffstats
path: root/main/figlet/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-20 14:46:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-20 14:46:53 +0000
commit71776c73a6f04b6f671430f702bcd40b29d48399 (patch)
tree802c49560a83e8575f3bc6d15d2115e7f420ea8b /main/figlet/APKBUILD
parent572e613135a19540ec6716f0b44eb2822304beaa (diff)
downloadaports-71776c73a6f04b6f671430f702bcd40b29d48399.tar.bz2
aports-71776c73a6f04b6f671430f702bcd40b29d48399.tar.xz
main/figlet: move from main
Diffstat (limited to 'main/figlet/APKBUILD')
-rw-r--r--main/figlet/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/main/figlet/APKBUILD b/main/figlet/APKBUILD
new file mode 100644
index 0000000000..1e48581559
--- /dev/null
+++ b/main/figlet/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=figlet
+pkgver=2.2.5
+pkgrel=0
+pkgdesc="A program for making large letters out of ordinary text"
+url="http://www.figlet.org/"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="ftp://ftp.figlet.org/pub/figlet/program/unix/${pkgname}-${pkgver}.tar.gz
+ musl-fix-cplusplus-decls.patch
+ "
+_builddir="$srcdir"/$pkgname-$pkgver
+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() {
+ cd "$_builddir"
+ make DEFAULTFONTDIR=/usr/share/figlet/fonts all
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="${pkgdir}" BINDIR=/usr/bin MANDIR=/usr/share/man \
+ DEFAULTFONTDIR=/usr/share/figlet/fonts install
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+md5sums="d88cb33a14f1469fff975d021ae2858e figlet-2.2.5.tar.gz
+7944a8b5731da408cd791b9ed154f4d9 musl-fix-cplusplus-decls.patch"
+sha256sums="bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d figlet-2.2.5.tar.gz
+f2d83fdeb0678c51b64385bcd3bf99d0da533bb559ae89ed9faaa6e9f2fb409c musl-fix-cplusplus-decls.patch"
+sha512sums="bb9610fd89a51dd3e65c485653fe1292f47dbca7cb9a05af4ce317f5d776bb346ae455aec07fc37c290f6658639920fd7c431c1135a0f4d456a21c0bd25f99fb figlet-2.2.5.tar.gz
+4ac1788686ff89c27747fe10b43de90f43c2aaa40476610cf5af52ff43c00e180b91acc1646658330fd534d223cef4643ab3c7f7bf0f6c9b5861601b1d8a05fe musl-fix-cplusplus-decls.patch"