mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 00:34:26 +02:00
45 lines
1.6 KiB
Text
45 lines
1.6 KiB
Text
# Maintainer: Daniel Hejduk <danielhejduk@disroot.org>
|
|
pkgname=rgbds
|
|
pkgver=0.9.1
|
|
pkgrel=0
|
|
pkgdesc="An assembly toolchain for the Nintendo Game Boy and Game Boy Color"
|
|
url="https://rgbds.gbdev.io/"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="libpng-dev pkgconfig bison"
|
|
subpackages="$pkgname-doc $pkgname-bash-completion $pkgname-zsh-completion"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/gbdev/rgbds/archive/v$pkgver.tar.gz"
|
|
options="!check" # No tests avaliable
|
|
|
|
build() {
|
|
make Q= # If Q variable is cleared it shows build debug information
|
|
}
|
|
|
|
package() {
|
|
make install PREFIX="/usr" DESTDIR="$pkgdir/"
|
|
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
|
|
|
# Bash completions
|
|
install -Dm644 contrib/bash_compl/_rgbasm.bash \
|
|
"$pkgdir"/usr/share/bash-completion/completions/rgbasm
|
|
install -Dm644 contrib/bash_compl/_rgbfix.bash \
|
|
"$pkgdir"/usr/share/bash-completion/completions/rgbfix
|
|
install -Dm644 contrib/bash_compl/_rgbgfx.bash \
|
|
"$pkgdir"/usr/share/bash-completion/completions/rgbgfx
|
|
install -Dm644 contrib/bash_compl/_rgblink.bash \
|
|
"$pkgdir"/usr/share/bash-completion/completions/rgblink
|
|
|
|
# zsh completions
|
|
install -Dm644 contrib/zsh_compl/_rgbasm \
|
|
"$pkgdir"/usr/share/zsh/site-functions/_rgbasm
|
|
install -Dm644 contrib/zsh_compl/_rgbfix \
|
|
"$pkgdir"/usr/share/zsh/site-functions/_rgbfix
|
|
install -Dm644 contrib/zsh_compl/_rgbgfx \
|
|
"$pkgdir"/usr/share/zsh/site-functions/_rgbgfx
|
|
install -Dm644 contrib/zsh_compl/_rgblink \
|
|
"$pkgdir"/usr/share/zsh/site-functions/_rgblink
|
|
}
|
|
|
|
sha512sums="
|
|
9ab610dd2c661c4228ecbc9fbf02734a65899b9ad6e4ab6e9273387d23ca5f95215de44972034fbdf46a744d4984f2efcf762b3bb4b7a4ecb6117a9c470ba3a7 rgbds-0.9.1.tar.gz
|
|
"
|