summaryrefslogtreecommitdiff
path: root/pcr/ultrastardx-git
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/ultrastardx-git')
-rw-r--r--pcr/ultrastardx-git/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/pcr/ultrastardx-git/PKGBUILD b/pcr/ultrastardx-git/PKGBUILD
new file mode 100644
index 000000000..efdf060af
--- /dev/null
+++ b/pcr/ultrastardx-git/PKGBUILD
@@ -0,0 +1,42 @@
+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
+}