Mercurial > vanilla
comparison accessibility/at-spi2-core/at-spi2-core.sh @ 606:25cecc6dca48
vanilla: use POSIX shell and busybox tar
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 18 Jul 2019 07:26:43 +0200 |
parents | 705beca72ba0 |
children | e91fbcb3d1ef |
comparison
equal
deleted
inserted
replaced
605:860ab66f5f71 | 606:25cecc6dca48 |
---|---|
39 fi | 39 fi |
40 | 40 |
41 build() | 41 build() |
42 { | 42 { |
43 rm -rf $PKGNAME-$PKGVERSION | 43 rm -rf $PKGNAME-$PKGVERSION |
44 tar xvaf $PKGNAME-$PKGVERSION.tar.xz | 44 tar xvf $PKGNAME-$PKGVERSION.tar.xz |
45 pushd $PKGNAME-$PKGVERSION | 45 cd $PKGNAME-$PKGVERSION |
46 | 46 |
47 # https://git.alpinelinux.org/aports/plain/main/at-spi2-core/fix-meson-subdir.patch | 47 # https://git.alpinelinux.org/aports/plain/main/at-spi2-core/fix-meson-subdir.patch |
48 patch -p1 < ../fix-meson-subdir.patch | 48 patch -p1 < ../fix-meson-subdir.patch |
49 CC="$CC" \ | 49 CC="$CC" \ |
50 CFLAGS="$CFLAGS" \ | 50 CFLAGS="$CFLAGS" \ |
58 -D libdir=lib \ | 58 -D libdir=lib \ |
59 . build | 59 . build |
60 CC="$CC" ninja -C build | 60 CC="$CC" ninja -C build |
61 DESTDIR=$DESTDIR ninja -C build install | 61 DESTDIR=$DESTDIR ninja -C build install |
62 | 62 |
63 popd | 63 cd .. |
64 rm -rf $PKGNAME-$PKGVERSION | 64 rm -rf $PKGNAME-$PKGVERSION |
65 } | 65 } |
66 | 66 |