Migrated to meson/ninja for building. There may be bugs. Thanks Claud for the assist.
This commit is contained in:
@@ -63,6 +63,12 @@ optdepends=(
|
||||
)
|
||||
makedepends=(
|
||||
git
|
||||
meson
|
||||
ninja
|
||||
python-build
|
||||
python-installer
|
||||
python-wheel
|
||||
yelp-tools
|
||||
)
|
||||
source=("git+https://git.stormux.org/storm/cthulhu.git")
|
||||
b2sums=('SKIP')
|
||||
@@ -70,7 +76,6 @@ b2sums=('SKIP')
|
||||
prepare() {
|
||||
cd cthulhu
|
||||
git checkout testing
|
||||
NOCONFIGURE=1 SKIP_YELP=1 ./autogen.sh
|
||||
}
|
||||
|
||||
pkgver() {
|
||||
@@ -80,13 +85,13 @@ pkgver() {
|
||||
|
||||
build() {
|
||||
cd cthulhu
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-help
|
||||
make
|
||||
arch-meson _build
|
||||
meson compile -C _build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd cthulhu
|
||||
make DESTDIR="$pkgdir" install
|
||||
meson install -C _build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:set sw=2 sts=-1 et:
|
||||
|
Reference in New Issue
Block a user