aboutsummaryrefslogtreecommitdiffstats
path: root/main/curl/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-11 03:38:05 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-11 03:38:52 +0200
commit4982618abe65cc42efb27a7249bdaf59ddeabc6d (patch)
tree598df45e1ddebf7d8fcb071d135783d45cb26c82 /main/curl/APKBUILD
parent5d4b5c7450aa6081c5112e0a2927e526f068a214 (diff)
downloadaports-4982618abe65cc42efb27a7249bdaf59ddeabc6d.tar.bz2
aports-4982618abe65cc42efb27a7249bdaf59ddeabc6d.tar.xz
main/curl: rearrange functions into more logical order
Diffstat (limited to 'main/curl/APKBUILD')
-rw-r--r--main/curl/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/curl/APKBUILD b/main/curl/APKBUILD
index 7899cad9cd..2135768bc3 100644
--- a/main/curl/APKBUILD
+++ b/main/curl/APKBUILD
@@ -44,11 +44,6 @@ subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev libcurl"
builddir="$srcdir/$pkgname-$pkgver"
-check() {
- cd "$builddir"
- make check
-}
-
build() {
cd "$builddir"
./configure \
@@ -65,6 +60,11 @@ build() {
make || return 1
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
make DESTDIR="$pkgdir" \
-C "$builddir" install || return 1