diff options
Diffstat (limited to 'testing/most')
-rw-r--r-- | testing/most/APKBUILD | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/testing/most/APKBUILD b/testing/most/APKBUILD index e6d4f1c595..d5e9c87935 100644 --- a/testing/most/APKBUILD +++ b/testing/most/APKBUILD @@ -14,25 +14,21 @@ install="" subpackages="$pkgname-doc" source="$url/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver +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 + default_prepare || return 1 + update_config_guess || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr --sysconfdir=/etc make -j1 || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } |