23 lines
1012 B
Bash
23 lines
1012 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=sdl_envvars
|
|
pkgver=1
|
|
pkgrel=1
|
|
pkgdesc='Environment variables to modify the behaviour of SDL'
|
|
arch=(any)
|
|
url='https://www.libsdl.org/release/SDL-1.2.15/docs/html/sdlenvvars.html'
|
|
license=(CC0-1.0)
|
|
backup=(etc/sdl.conf)
|
|
source=(sdl.sh.profile
|
|
sdl.conf.profile
|
|
legalcode.txt)
|
|
sha512sums=('2d899b1b29e5924c00bc4433b8908988268f59024c8d587783d4e9601a5bd63d2c776b89ffc9a0933477c69900c74688f343dc24763d9ca9229af8a85f401c98'
|
|
'4aafc9a8270c1178a0afd2eab417c43ba22b906bdf44e1f5185e7d8e21a0023216005dce8371e6365e4535f5cfd6c1ff09cd47a6a24cb564f30493b0e5ae5d83'
|
|
'1eb4436f8d58766cbe99db97e5e8c0db8a706376afd291c337de1ba7a6b066d3791dc85ad034bdd54ea336bed6e6e8e7a037d8b04b2773c9c7517b9d9921d1fa')
|
|
|
|
package() {
|
|
install -Dm755 "$srcdir/sdl.sh.profile" "$pkgdir/etc/profile.d/sdl.conf"
|
|
install -Dm644 "$srcdir/sdl.conf.profile" "$pkgdir/etc/sdl.conf"
|
|
install -Dm644 legalcode.txt "$pkgdir/usr/share/licenses/$pkgname/legalcode.txt"
|
|
}
|