summaryrefslogtreecommitdiff
path: root/sources/muon/muon.spec
blob: 158eaf5219417bf87bff6cf65d8f1b6b78c97657 (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
# 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.0"

build() {
    tar xf ../$SRC_FILENAME
    cd muon-*/
    ./bootstrap.sh build
    ./build/muon-bootstrap setup build
    ./build/muon-bootstrap -C build samu
    ./build/muon -C build test -R
}

clean() {
    rm -rf muon-*/
}

package() {
    cd muon-*/
    DESTDIR=$TT_INSTALLDIR ./build/muon -C build install
}