From 3cf9c734f8e86066a1118e71090b156309fe6701 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 28 Dec 2019 07:39:36 -0600 Subject: user/[X11 stuff]: modernise and fix syntax --- user/mcpp/APKBUILD | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'user/mcpp') diff --git a/user/mcpp/APKBUILD b/user/mcpp/APKBUILD index 233899f5f..761a3149e 100644 --- a/user/mcpp/APKBUILD +++ b/user/mcpp/APKBUILD @@ -15,13 +15,11 @@ source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz 02-gniibe-fixes.patch" prepare() { - cd "$builddir" - update_config_sub default_prepare + update_config_sub } build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -36,17 +34,11 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install - - mkdir -p "$pkgdir"/usr/share/licenses/$pkgname - mv "$pkgdir"/usr/share/doc/$pkgname/LICENSE \ - "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } sha512sums="1ca885cb13fdb684de9d0595a9215b52f48a93a69077d82cdcacafe40d9a61fb77b00a3ff2b8890e7bc0a0fcc0c8d70d4093c00c280351cd4459aba67c573235 mcpp-2.7.2.tar.gz -- cgit v1.2.3-70-g09d2