pkgname=ultrastardx-git pkgver=r580.8a761ba8 pkgrel=1 pkgdesc='Free karaoke game. (GIT)' arch=('i686' 'x86_64') url="http://ultrastardeluxe.org/" license=('GPL') depends=('ffmpeg2.8' 'lua' 'portaudio' 'sdl2' 'sdl2_gfx' 'sdl2_mixer' 'sdl2_net' 'sdl2_ttf' 'sdl2_image' 'ttf-dejavu' 'ttf-freefont' 'wqy-microhei' 'pcre') makedepends=('git' 'fpc') #options=('!libtool') provides=('ultrastardx') conflicts=('ultrastardx') groups=('usdx') source=( "git://github.com/UltraStar-Deluxe/USDX.git" ) sha256sums=( 'SKIP' ) pkgver() { cd "${srcdir}/USDX" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { cd "${srcdir}/USDX" ./autogen.sh } build() { cd "${srcdir}/USDX" PKG_CONFIG_PATH="/usr/lib/ffmpeg2.8/pkgconfig" ./configure make LDFLAGS="-O1 --sort-common --as-needed -z relro" } package() { cd "${srcdir}/USDX" touch COPYING.txt make DESTDIR="$pkgdir/" install }