community/fvwm: enables check function and minor cleanup

Enables the check function for this build and does a minor clean to
bring the APKBUILD syntax up to date.
This commit is contained in:
ScrumpyJack 2017-04-11 15:32:09 +00:00 committed by Francesco Colista
parent b10ec1abf1
commit 4856cecfec

View File

@ -18,21 +18,23 @@ source="https://github.com/fvwmorg/fvwm/releases/download/$pkgver/$pkgname-$pkgv
builddir=$srcdir/${pkgname}-${pkgver}
build() {
cd "$_builddir"
cd "$builddir"
./configure --prefix=/usr \
--disable-perllib \
--disable-bidi \
--disable-rsvg \
--disable-xinerama \
--disable-gtk \
--with-gnome=no \
|| return 1
--disable-xinerama
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="127cd1cc68e98e673056c1dd5108dfabc7560cfc98c86e35b95d75c6327156389f77aa0470e2e6f702865367f29d3bd1cfa8cf07a5b1c1693fa6e04fb2af717f fvwm-2.6.7.tar.gz"