blob: 08286187ddfbd369cca86a9006f8ca81db37907f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
SRC_FILENAME="muon-0.5.0.tar.gz"
SRC_HASH="565c1b6e1e58f7e90d8813fda0e2102df69fb493ddab4cf6a84ce3647466bee5"
SRC_NAME="muon"
SRC_URL="https://git.sr.ht/~lattis/muon/archive/0.5.0.tar.gz"
SRC_VERSION="0.5.0r1"
build() {
tar xf ../$SRC_FILENAME
cd muon-*/
# NOTE: bootstrap.sh attempts to call "c99", which isn't a command. We'll
# use CC here to define a suitable replacement. ~ahill
CC="clang -std=c99" ./bootstrap.sh build
./build/muon-bootstrap setup $TT_MESON_COMMON build
./build/muon-bootstrap -C build samu
}
clean() {
rm -rf muon-*/
}
package() {
cd muon-*/
DESTDIR=$TT_INSTALLDIR ./build/muon -C build install
}
|