aboutsummaryrefslogtreecommitdiffstats
path: root/community/libcaca
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-05-13 19:45:01 -0300
committerShiz <hi@shiz.me>2017-05-14 03:25:04 +0200
commit81f8be4611dff1f66a5a062e22be27241d004d28 (patch)
tree33e680f525c4d344f7b69677e50d2aa798661051 /community/libcaca
parentc76f808cc57692d3cd4b51a675d8958879b41e45 (diff)
downloadaports-81f8be4611dff1f66a5a062e22be27241d004d28.tar.bz2
aports-81f8be4611dff1f66a5a062e22be27241d004d28.tar.xz
community/libcaca: modernize abuild and fix whitespace
Diffstat (limited to 'community/libcaca')
-rw-r--r--community/libcaca/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/community/libcaca/APKBUILD b/community/libcaca/APKBUILD
index ad9243233e..306abffac7 100644
--- a/community/libcaca/APKBUILD
+++ b/community/libcaca/APKBUILD
@@ -8,10 +8,8 @@ pkgdesc="graphics library that outputs text instead of pixels"
url="http://caca.zoy.org/wiki/libcaca"
arch="all"
license="WTFPL"
-depends=""
depends_dev="imlib2-dev"
makedepends="$depends_dev"
-install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://caca.zoy.org/files/$pkgname/$pkgname-$_ver.tar.gz"
@@ -19,18 +17,14 @@ builddir="$srcdir"/libcaca-${_ver}
build() {
cd "$builddir"
- ./configure \
- --prefix=/usr \
- || return 1
- make || return 1
+ ./configure --prefix=/usr
+ make
}
package() {
cd "$builddir"
- make DESTDIR=$pkgdir install
- install COPYING -Dm644 $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ make DESTDIR=$pkgdir install
+ install COPYING -Dm644 $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
-md5sums="a3d4441cdef488099f4a92f4c6c1da00 libcaca-0.99.beta19.tar.gz"
-sha256sums="128b467c4ed03264c187405172a4e83049342cc8cc2f655f53a2d0ee9d3772f4 libcaca-0.99.beta19.tar.gz"
sha512sums="780fc7684d40207cc10df3f87d6d8f1d47ddfffa0e76e41a5ce671b82d5c7f090facb054c3d49ca7c4ea1a619625bb9085ce52f837f50792b4a2d776a4c68e15 libcaca-0.99.beta19.tar.gz"