aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/toilet/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/toilet/APKBUILD')
-rw-r--r--unmaintained/toilet/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/unmaintained/toilet/APKBUILD b/unmaintained/toilet/APKBUILD
new file mode 100644
index 0000000000..f0d4f57552
--- /dev/null
+++ b/unmaintained/toilet/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: z3bra <willy at mailoo dot org>
+# Maintainer:
+pkgname=toilet
+pkgver=0.3
+pkgrel=0
+pkgdesc="free replacement for the figlet utility"
+url="http://caca.zoy.org/wiki/toilet"
+arch="all"
+license="WTFPL"
+depends=""
+depends_dev="libcaca-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://caca.zoy.org/raw-attachment/wiki/$pkgname/$pkgname-$pkgver.tar.gz"
+
+_builddir=$srcdir/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr || return 1
+ make DESTDIR=$pkgdir || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR=$pkgdir install || return 1
+ install COPYING -Dm644 \
+ $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
+}
+
+md5sums="9b72591cb22a30c42a3184b17cabca6f toilet-0.3.tar.gz"
+sha256sums="89d4b530c394313cc3f3a4e07a7394fa82a6091f44df44dfcd0ebcb3300a81de toilet-0.3.tar.gz"
+sha512sums="64b9389562a51e7dba6e3f1dd27c5340f90df25d8fbf1e041b539f5243b5b6b7af1ebf033a511053ad72a73908d496a1f3d14c4ac656425aefb8364a0664ceed toilet-0.3.tar.gz"