diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-20 14:46:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-20 14:46:53 +0000 |
commit | 71776c73a6f04b6f671430f702bcd40b29d48399 (patch) | |
tree | 802c49560a83e8575f3bc6d15d2115e7f420ea8b /testing | |
parent | 572e613135a19540ec6716f0b44eb2822304beaa (diff) | |
download | aports-71776c73a6f04b6f671430f702bcd40b29d48399.tar.bz2 aports-71776c73a6f04b6f671430f702bcd40b29d48399.tar.xz |
main/figlet: move from main
Diffstat (limited to 'testing')
-rw-r--r-- | testing/figlet/APKBUILD | 46 | ||||
-rw-r--r-- | testing/figlet/musl-fix-cplusplus-decls.patch | 22 |
2 files changed, 0 insertions, 68 deletions
diff --git a/testing/figlet/APKBUILD b/testing/figlet/APKBUILD deleted file mode 100644 index 1e48581559..0000000000 --- a/testing/figlet/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# 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" diff --git a/testing/figlet/musl-fix-cplusplus-decls.patch b/testing/figlet/musl-fix-cplusplus-decls.patch deleted file mode 100644 index 2a08327eaa..0000000000 --- a/testing/figlet/musl-fix-cplusplus-decls.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- figlet-2.2.5.orig/utf8.h -+++ figlet-2.2.5/utf8.h -@@ -27,13 +27,17 @@ - #define UTF8_IGNORE_ERROR 0x01 - #define UTF8_SKIP_BOM 0x02 - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - size_t utf8_to_wchar(const char *in, size_t insize, wchar_t *out, - size_t outsize, int flags); - size_t wchar_to_utf8(const wchar_t *in, size_t insize, char *out, - size_t outsize, int flags); - --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* !_UTF8_H_ */ |