summaryrefslogtreecommitdiff
path: root/sources/muon/muon.spec
diff options
context:
space:
mode:
Diffstat (limited to 'sources/muon/muon.spec')
-rw-r--r--sources/muon/muon.spec24
1 files changed, 24 insertions, 0 deletions
diff --git a/sources/muon/muon.spec b/sources/muon/muon.spec
new file mode 100644
index 0000000..158eaf5
--- /dev/null
+++ b/sources/muon/muon.spec
@@ -0,0 +1,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
+} \ No newline at end of file