25 lines
571 B
Plaintext
25 lines
571 B
Plaintext
# Description: Compiler and tools for the Myrddin programming language.
|
|
# URL: https://myrlang.org/
|
|
# Packager: milisarge
|
|
# Depends on:
|
|
|
|
name=myrddin
|
|
version=0.2.0
|
|
release=1
|
|
source=(https://myrlang.org//releases/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd mc
|
|
./configure --prefix="/usr"
|
|
make
|
|
make DESTDIR="$PKG" install
|
|
|
|
install -Dm644 LICENSE "${PKG}/usr/share/licenses/${name}/LICENSE"
|
|
install -Dm644 README.md "${PKG}/usr/share/doc/${name}/README.md"
|
|
|
|
cd support/vim/
|
|
for dir in *; do
|
|
install -t "${PKG}/usr/share/${name}/vim/${dir}" -Dm644 "${dir}"/*.vim
|
|
done
|
|
}
|