summaryrefslogtreecommitdiff
path: root/user/mcpp
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 07:39:36 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 07:39:36 -0600
commit3cf9c734f8e86066a1118e71090b156309fe6701 (patch)
tree22b51d8bffbc21f891402342a104edc296d131eb /user/mcpp
parente088c1421472a21e5821ed9d9926f2a329b60b77 (diff)
downloadpackages-3cf9c734f8e86066a1118e71090b156309fe6701.tar.gz
packages-3cf9c734f8e86066a1118e71090b156309fe6701.tar.bz2
packages-3cf9c734f8e86066a1118e71090b156309fe6701.tar.xz
packages-3cf9c734f8e86066a1118e71090b156309fe6701.zip
user/[X11 stuff]: modernise and fix syntax
Diffstat (limited to 'user/mcpp')
-rw-r--r--user/mcpp/APKBUILD10
1 files changed, 1 insertions, 9 deletions
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