klystrack: update to 1.7.2.

This commit is contained in:
allan 2017-05-11 13:37:30 +02:00
parent 937e1c616c
commit 2c3a9df3b9
1 changed files with 8 additions and 9 deletions

View File

@ -1,9 +1,8 @@
# Template file for 'klystrack'
pkgname=klystrack
version=1.7.0
version=1.7.2
revision=1
_klystronsha=4bbadbda271da642b87b2d83cd44742f36c27da0
wrksrc=klystrack-${version}-final
_klystronsha=f5114db4de299ece73852becbef56d7d461bf421
create_wrksrc=yes
hostmakedepends="SDL2-devel"
makedepends="SDL2_image-devel SDL2_mixer-devel"
@ -11,22 +10,22 @@ short_desc="Chiptune music tracker"
maintainer="allan <mail@may.mooo.com>"
license="BSD"
homepage="http://kometbomb.github.io/klystrack/"
distfiles="https://github.com/kometbomb/klystrack/archive/${version}-final.tar.gz
distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
https://github.com/kometbomb/klystron/archive/${_klystronsha}.tar.gz"
checksum="cc8fd6a8ee84974ee1ee576342901a0e63f311848495ae0ba504305a5ccdfb97
8f957d1250fa36d343d3eecd6585c5890342b0a1b3d8ecaec22217e95d1dbf96"
checksum="96b46fca5cd150a7ca0ea27cc339eb2b2394e48580ced1d43b0083bb8a628d5c
877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
do_build() {
test -d klystron ||
mv klystron-${_klystronsha} klystron
cd klystrack-${version}-final
cd klystrack-${version}
sed -i \
-e 's/\r$//' \
-e "/^CFLAGS/s,\$, ${CFLAGS}," \
-e "/^LDFLAGS/s:\$: ${LDFLAGS}:" \
-e 's/^CC := gcc/CC := $(CC)/' \
-e '36s/$/ -lSDL2_mixer/' \
-e '37s/$/ -lSDL2_mixer/' \
Makefile
sed -i \
-e 's/\r$//' \
@ -37,7 +36,7 @@ do_build() {
}
do_install() {
cd klystrack-${version}-final
cd klystrack-${version}
vbin bin.release/klystrack
vmkdir usr/lib/klystrack
vcopy res usr/lib/klystrack