mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 07:02:29 +01:00
41 lines
947 B
Plaintext
41 lines
947 B
Plaintext
# Contributor: Shiz <hi@shiz.me>
|
|
# Maintainer: Shiz <hi@shiz.me>
|
|
pkgname=icmake
|
|
pkgver=9.02.08
|
|
pkgrel=0
|
|
pkgdesc="Make utility using a C-like grammar"
|
|
url="https://fbb-git.github.io/icmake/"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="bash"
|
|
subpackages="$pkgname-doc"
|
|
source="https://gitlab.com/fbb-git/icmake/-/archive/$pkgver/icmake-$pkgver.tar.bz2"
|
|
builddir="$srcdir/icmake-$pkgver/icmake"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cd "$builddir"
|
|
sed -i '/^#define DOCDOCDIR/d' INSTALL.im
|
|
echo '#define DOCDOCDIR "usr/share/doc/icmake"' >> INSTALL.im
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./icm_prepare /
|
|
./icm_bootstrap x
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
./tmp/usr/bin/icmake --version
|
|
./tmp/usr/bin/icmbuild --version
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
./icm_install strip all "$pkgdir"
|
|
}
|
|
|
|
sha512sums="d88877b7d575ce905639b5ee37008718623dfff910da547b11be9e22f1696f30809c438bf702a54a2709b9b4d6cdd929b7e28e41ae2923b8ceffbc058102b76b icmake-9.02.08.tar.bz2"
|