diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-03-07 15:14:33 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-03-07 15:15:06 -0300 |
commit | 4fd701edab9359a748992157f1664e2b60b1b2ae (patch) | |
tree | 922f574c0dff5454c6ca7ad27b17904bdbe88f62 /pcr/ultrastardx-git | |
parent | c6fe4535184272bc1b0d49de1aff116b933866e2 (diff) | |
download | abslibre-4fd701edab9359a748992157f1664e2b60b1b2ae.tar.gz abslibre-4fd701edab9359a748992157f1664e2b60b1b2ae.tar.bz2 abslibre-4fd701edab9359a748992157f1664e2b60b1b2ae.zip |
ultrastardx-git: add new package to [pcr]
Diffstat (limited to 'pcr/ultrastardx-git')
-rw-r--r-- | pcr/ultrastardx-git/PKGBUILD | 42 |
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 +} |