Mercurial > vanilla
comparison terminals/xterm/xterm.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 | bad483aace64 |
children | a133976e0783 |
comparison
equal
deleted
inserted
replaced
605:860ab66f5f71 | 606:25cecc6dca48 |
---|---|
40 fi | 40 fi |
41 | 41 |
42 build() | 42 build() |
43 { | 43 { |
44 rm -rf $PKGNAME-$PKGVERSION | 44 rm -rf $PKGNAME-$PKGVERSION |
45 tar xvaf $PKGNAME-$PKGVERSION.tgz | 45 tar xvf $PKGNAME-$PKGVERSION.tgz |
46 pushd $PKGNAME-$PKGVERSION | 46 cd $PKGNAME-$PKGVERSION |
47 | 47 |
48 # https://git.alpinelinux.org/aports/tree/community/xterm/posix-ptys.patch | 48 # https://git.alpinelinux.org/aports/tree/community/xterm/posix-ptys.patch |
49 patch -p1 < ../posix-ptys.patch | 49 patch -p1 < ../posix-ptys.patch |
50 CC="$CC" \ | 50 CC="$CC" \ |
51 CFLAGS="$CFLAGS" \ | 51 CFLAGS="$CFLAGS" \ |
63 # Those are not installed from the Makefile even though pixmaps are, so | 63 # Those are not installed from the Makefile even though pixmaps are, so |
64 # install them anyway. | 64 # install them anyway. |
65 install -Dm0644 xterm.desktop $DESTDIR/share/applications/xterm.desktop | 65 install -Dm0644 xterm.desktop $DESTDIR/share/applications/xterm.desktop |
66 install -Dm0644 uxterm.desktop $DESTDIR/share/applications/uxterm.desktop | 66 install -Dm0644 uxterm.desktop $DESTDIR/share/applications/uxterm.desktop |
67 | 67 |
68 popd | 68 cd .. |
69 rm -rf $PKGNAME-$PKGVERSION | 69 rm -rf $PKGNAME-$PKGVERSION |
70 } | 70 } |