diff options
Diffstat (limited to 'community/entr/APKBUILD')
-rw-r--r-- | community/entr/APKBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/community/entr/APKBUILD b/community/entr/APKBUILD index 880ebcfab6..66b4148588 100644 --- a/community/entr/APKBUILD +++ b/community/entr/APKBUILD @@ -15,28 +15,27 @@ source="http://entrproject.org/code/$pkgname-$pkgver.tar.gz " builddir="$srcdir/eradman-$pkgname" -prepare() { - # Top-level directory inside the tar archive contains SHA of a commit... - cd "$srcdir" - mv eradman-$pkgname-* "$builddir" +unpack() { + default_unpack - default_prepare + # Top-level directory inside the tar archive contains SHA of a commit... + mv "$srcdir"/eradman-$pkgname-* "$builddir" } build() { cd "$builddir" - ./configure || return 1 - CFLAGS="-static" make test || return 1 + ./configure + CFLAGS="-static" make test } package() { cd "$builddir" - PREFIX="$pkgdir/usr" make install || return 1 + PREFIX="$pkgdir/usr" make install } check() { cd "$builddir" - make regress || return 1 + make regress } sha512sums="a1687ec2da99f65fba3f668e41345ba76cb8c87cc2343d98c0dcc0ac0dedeb40cd8b5fd9aa3eba1dee8add94585de939864633bf0020cea1043699019dfa15fe entr-3.7.tar.gz |