diff options
Diffstat (limited to 'main/gvpe')
-rw-r--r-- | main/gvpe/APKBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/main/gvpe/APKBUILD b/main/gvpe/APKBUILD index 9f3ba553f2..8d4d1decd7 100644 --- a/main/gvpe/APKBUILD +++ b/main/gvpe/APKBUILD @@ -18,20 +18,15 @@ source="http://ftp.gnu.org/gnu/$pkgname/${pkgname}-${pkgver}.tar.gz " subpackages="$pkgname-doc" -_builddir="${srcdir}"/${pkgname}-${pkgver} +builddir="${srcdir}"/${pkgname}-${pkgver} prepare() { - local pf - cd "${_builddir}" - for pf in $source; do - case $pf in - *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;; - esac - done + default_prepare || return 1 + update_config_guess || return 1 } build() { - cd "${_builddir}" + cd "${builddir}" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -45,7 +40,7 @@ build() { } package() { - cd "${_builddir}" + cd "${builddir}" make DESTDIR="${pkgdir}" install || return 1 install -D -m0644 "${srcdir}"/gvpe.confd "${pkgdir}"/etc/conf.d/gvpe \ || return 1 |